Examples of invokeSelect()


Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

      user.fromObject(ma);
      DOService findUserService = DOService
          .getService("do_org_user_browse");

      List corrUsers = findUserService.invokeSelect(ma.getObjUid());
      BOInstance employee = null;
      try {
        if (corrUsers == null || corrUsers.size() == 0) {
          // user.putValue("objuid",
          // ma.getObjUid());
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

 
  public static void main(String[] args){
   
    DOService aService = DOService.getService("zf_employee_list_ldapbyaction");
   
    List list = aService.invokeSelect();
   
    BOInstance anItem = (BOInstance)list.get(5);
   
   
    System.out.println("An item::" + anItem);
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

  private void appendRoles(List allAuths, String accountUid, OrgParter parter) {

    if (parter.isRole()) {
      DOService findUserService = DOService
          .getService("do.bx.role.findbyuseridcontext");
      List listRoles = findUserService.invokeSelect(accountUid);
      if (listRoles != null) {
        for (Iterator roles = listRoles.iterator(); roles.hasNext();) {
          BOInstance boRole = (BOInstance) roles.next();
          OrgParterValue pv = new OrgParterValue(parter, boRole
              .getUid(), boRole.getName());
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

    // //////////先获取角色菜单的权限

    List pureMenuUids = new ArrayList();
    DOService rfService = DOService
        .getService("do.bx.role.findbyuserid.xes.ids_xes");
    List rfList = rfService.invokeSelect(accountUid);

    for (Iterator it = rfList.iterator(); it.hasNext();) {
      BOInstance bi = (BOInstance) it.next();
      pureMenuUids.add(bi.getValue("whatuid"));
    }
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

      }
    }
   
      List gradeCounts=null;
      DOService studentGrade = DOService.getService("tbstudent.browseGrade");
      gradeCounts=studentGrade.invokeSelect(user.getUid());
      String gradeInfor="";
      for (Iterator it =gradeCounts.iterator();it.hasNext();){
        BOInstance dData=(BOInstance) it.next();
        gradeInfor=dData.getValue("fdgrade");
      }
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

//  }

  private HashMap getAllDepts() {
    DOService searchDepts = DOService.getService("do.bx.dept.list");
    HashMap allDepts = new HashMap();
    List depts = searchDepts.invokeSelect();
    if (depts != null) {
      for (Iterator it = depts.iterator(); it.hasNext();) {
        BOInstance deptBI = (BOInstance) it.next();
        allDepts.put(deptBI.getValue("code"), deptBI.getName());
      }
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

    DOService findUserService = DOService
        .getService("do.bx.role.findbyuserid");
    if (findUserService == null) {
      return null;
    }
    List listRoles = findUserService.invokeSelect(accountUid);
    List corrRoles = new ArrayList();
    if (listRoles != null) {
      for (Iterator roles = listRoles.iterator(); roles.hasNext();) {
        BOInstance boRole = (BOInstance) roles.next();
        // System.out.println(boRole);
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

      }
    }
   
      List gradeCounts=null;
      DOService studentGrade = DOService.getService("tbstudent.browseGrade");
      gradeCounts=studentGrade.invokeSelect(user.getUid());
      String gradeInfor="";
      for (Iterator it =gradeCounts.iterator();it.hasNext();){
        BOInstance dData=(BOInstance) it.next();
        gradeInfor=dData.getValue("fdgrade");
      }
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

//  }

  private HashMap getAllDepts() {
    DOService searchDepts = DOService.getService("do.bx.dept.list");
    HashMap allDepts = new HashMap();
    List depts = searchDepts.invokeSelect();
    if (depts != null) {
      for (Iterator it = depts.iterator(); it.hasNext();) {
        BOInstance deptBI = (BOInstance) it.next();
        allDepts.put(deptBI.getValue("code"), deptBI.getName());
      }
View Full Code Here

Examples of com.exedosoft.plat.bo.DOService.invokeSelect()

    DOService secondService = gridModel.getSecondService();
    if (secondService != null) {
      for (Iterator itSubject = list.iterator(); itSubject.hasNext();) {
        BOInstance aSubject = (BOInstance) itSubject.next();
        aSubject.putValue("mDate", getTimeStr(aSubject.getDateValue("msg_time")));
        List commnents = secondService.invokeSelect(aSubject.getUid());
        aSubject.putValue("comments", commnents);
        for(Iterator itComm = commnents.iterator() ; itComm.hasNext();){
          BOInstance aComm = (BOInstance)itComm.next();
          aComm.putValue("mDate", getTimeStr(aComm.getDateValue("c_time")));
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.