Package org.huihoo.workflow.usermodel

Examples of org.huihoo.workflow.usermodel.WorkflowParticipant


        workflowProcess,
        operator,
        userTransaction,
        workflowCase,
        fromWorkID);
    WorkflowParticipant participant = fromWork.getPerformer();

    String dispWorkId =
      caseDatabase.createWorkflowWork(
        workflowProcess,
        operator,
View Full Code Here


   
    WorkflowActivity workflowActivity=workflowWork.getWorkflowActivity();
    this.activityProcessID=workflowActivity.getWorkflowProcess().getUUID();
    this.activityID=workflowActivity.getUUID();
   
    WorkflowParticipant participant=workflowWork.getPerformer()
    this.performerID=(participant==null?null:participant.getUUID());
     
    this.arriveTime=workflowWork.getArriveTime();
    this.acceptTime=workflowWork.getAcceptTime();
    this.dispatchTime=workflowWork.getDispatchTime();
   
View Full Code Here

    this.packageID=workflowCase.getWorkflowProcess().getWorkflowPackage().getUUID();
    this.processID=workflowCase.getWorkflowProcess().getUUID();
   
    this.primaryKey=workflowCase.getPrimaryKey();
   
    WorkflowParticipant particpant=workflowCase.getCreator();
    this.creatorID=(particpant==null?null:particpant.getUUID());
   
    this.creationTime=workflowCase.getCreationTime();
    this.caseStatus=workflowCase.getStatus();
  }
View Full Code Here

    {
      WorkflowGroup group = (WorkflowGroup) userDatabase.findGroup((String) groupIds.get(i));
      Iterator userInterator = group.getParticipants();
      while (userInterator.hasNext())
      {
        WorkflowParticipant user = (WorkflowParticipant) userInterator.next();
        append2List(users, user);
      }
    }
    return users;
  }
View Full Code Here

    {
      WorkflowRole role = (WorkflowRole) userDatabase.findRole((String) roleIds.get(i));
      Iterator userInterator = role.getParticipants();
      while (userInterator.hasNext())
      {
        WorkflowParticipant user = (WorkflowParticipant) userInterator.next();
        append2List(users, user);
      }
    }
    return users;
  }
View Full Code Here

      {
        WorkflowDepartment dept = (WorkflowDepartment) userDatabase.findDepartment((String) deptIds.get(i));
        Iterator userInterator = dept.getParticipants();
        while (userInterator.hasNext())
        {
          WorkflowParticipant user = (WorkflowParticipant) userInterator.next();
          append2List(users, user);
        }
      }
    return users;
  }
View Full Code Here

        if (dept.getCategory() != null && catId.equals(dept.getCategory().getUUID()))
        {
          Iterator userInterator = dept.getParticipants();
          while (userInterator.hasNext())
          {
            WorkflowParticipant user = (WorkflowParticipant) userInterator.next();
            append2List(users, user);
          }
        }
      }
    }
View Full Code Here

    {
      String rankId = (String) rankIds.get(i);
      Iterator userInterator = userDatabase.getParticipants();
      while (userInterator.hasNext())
      {
        WorkflowParticipant user = (WorkflowParticipant) userInterator.next();
        if (user.getRank() != null && rankId.equals(user.getRank().getUUID()))
        {
          append2List(users, user);
        }
      }
    }
View Full Code Here

  private static void append2List(List users, WorkflowParticipant user)
  {
    int sizeUsers = users.size();
    boolean found = false;
    WorkflowParticipant temp = null;
    for (int i = 0; i < sizeUsers; ++i)
    {
      temp = (WorkflowParticipant) users.get(i);
      if (user.getUUID().equals(temp.getUUID()))
      {
        found = true;
        break;
      }
    }
View Full Code Here

  {
    session.invalidate();
  }
  public ObjectService findService(String service_name) throws WorkflowException
  {
    WorkflowParticipant participant = session.getParticipant();
    String userid = participant.getUUID();
    String password = participant.getPassword();
    if (willow_engine != null)
    {
      Context context = willow_engine.findChild(service_name);
      if (context != null && (context instanceof WorkflowService))
      {
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.usermodel.WorkflowParticipant

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.