Package com.founder.fix.fixflow.core.impl.identity

Examples of com.founder.fix.fixflow.core.impl.identity.GroupTo


      String tmpsupid = StringUtil.getString(map.get(supGroupIdField));
      String tmpid = StringUtil.getString(map.get(groupIdField));
      String tmpName = StringUtil.getString(map.get(groupNameField));
      if (tmpid != null && !tmpid.equals("")) {
        if (tmpsupid != null && tmpsupid.equals(id)) {
          GroupTo groupTo = new GroupTo(tmpid, tmpName, getId(), map);
          groupTos.add(groupTo);
          findGroupSub(listMap, tmpid, groupTos);
        }
      }
View Full Code Here


          return null;
        }
        if (dataObj.get(0).get(groupIdField) == null) {
          return null;
        }
        GroupTo groupTo = new GroupTo(StringUtil.getString(dataObj.get(0).get(groupIdField)), StringUtil.getString(dataObj.get(0).get(groupNameField)), getId(), dataObj.get(0));
        cache.putCacheData(getId() + "_findParentGroupByGroupId_" + groupId, groupTo);
        return groupTo;
      } catch (Exception e) {
        e.printStackTrace();
        throw new FixFlowException("获取" + getGroupInfo().getGroupName() + "信息出错!", e);
View Full Code Here

                }

                if (groupTos != null) {

                  for (GroupTo groupTo : groupTos) {
                    GroupTo groupToObj = new GroupTo(groupTo.getGroupId(), taskAssigneeDefinitionTo.getGroupTypeExpression());

                    assignable.addCandidateGroup(groupToObj, taskAssigneeDefinitionTo.getIncludeExclusion());
                  }

                } else {
                  throw new FixFlowException("节点 " + ((TaskInstance) assignable).getNodeId() + " 的任务获取子分配组出错!");
                }

              } else {
                GroupTo groupTo = new GroupTo(groupId, taskAssigneeDefinitionTo.getGroupTypeExpression());

                assignable.addCandidateGroup(groupTo, taskAssigneeDefinitionTo.getIncludeExclusion());
              }

            }
View Full Code Here

                  }

                  if (groupTos != null) {

                    for (GroupTo groupTo : groupTos) {
                      GroupTo groupToObj = new GroupTo(groupTo.getGroupId(), taskAssigneeDefinitionTo.getGroupTypeExpression());

                      assignable.addCandidateGroup(groupToObj, taskAssigneeDefinitionTo.getIncludeExclusion());
                    }

                  } else {
                    throw new FixFlowException("节点 " + ((TaskInstance) assignable).getNodeId() + " 的任务获取子分配组出错!");
                  }

                } else {
                  GroupTo groupTo = new GroupTo(groupId, taskAssigneeDefinitionTo.getGroupTypeExpression());

                  assignable.addCandidateGroup(groupTo, taskAssigneeDefinitionTo.getIncludeExclusion());
                }
              }
            }
View Full Code Here

                }

                if (groupTos != null) {

                  for (GroupTo groupTo : groupTos) {
                    GroupTo groupToObj = new GroupTo(groupTo.getGroupId(), taskAssigneeDefinitionTo.getGroupTypeExpression());

                    assignable.addCandidateGroup(groupToObj, taskAssigneeDefinitionTo.getIncludeExclusion());
                  }

                } else {
                  throw new FixFlowException("节点 " + ((TaskInstance) assignable).getNodeId() + " 的任务获取子分配组出错!");
                }

              } else {
                GroupTo groupTo = new GroupTo(groupId, taskAssigneeDefinitionTo.getGroupTypeExpression());

                assignable.addCandidateGroup(groupTo, taskAssigneeDefinitionTo.getIncludeExclusion());
              }

            }
View Full Code Here

    List<GroupTo> groupTos = new ArrayList<GroupTo>();
    List<String> deptList=AssigneeUtil.executionExpressionObj(deptId, executionContext);
   
   
    for (String deptId : deptList) {
      GroupTo userTo = new GroupTo(deptId,"dept");
      groupTos.add(userTo);
    }
    return groupTos;
  }
View Full Code Here

              }
            }
          } else {
            String groupIdString = identityLink.getGroupId();
            String groupTypeString = identityLink.getGroupType();
            GroupTo groupTo = Authentication.findGroupByGroupIdAndType(groupIdString, groupTypeString);
            if (groupTo != null) {

              for (GroupDefinition groupDefinition : groupDefinitions) {
                if (groupDefinition.getId().equals(groupTypeString)) {
                  List<UserTo> userTos = groupDefinition.findUserByGroupId(groupIdString);
View Full Code Here

                  }

                  if (groupTos != null) {

                    for (GroupTo groupTo : groupTos) {
                      GroupTo groupToObj = new GroupTo(groupTo.getGroupId(), taskAssigneeDefinitionTo.getGroupTypeExpression());

                      assignable.addCandidateGroup(groupToObj, taskAssigneeDefinitionTo.getIncludeExclusion());
                    }

                  } else {
                    throw new FixFlowException("节点 " + ((TaskInstance) assignable).getNodeId() + " 的任务获取子分配组出错!");
                  }

                } else {
                  GroupTo groupTo = new GroupTo(groupId, taskAssigneeDefinitionTo.getGroupTypeExpression());

                  assignable.addCandidateGroup(groupTo, taskAssigneeDefinitionTo.getIncludeExclusion());
                }

              }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.impl.identity.GroupTo

Copyright © 2018 www.massapicom. 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.