Package org.huihoo.workflow.usermodel

Examples of org.huihoo.workflow.usermodel.WorkflowParticipant


    WorkflowProcess workflowProcess,
    WorkflowParticipant performer,
    int itemStatus)
    throws WorkflowException
  {
    WorkflowParticipant participant = session.getParticipant();
    List workList =
      spiCaseDatabase.getWorkflowWorkList(
        workflowProcess,
        participant,
        performer,
View Full Code Here


    UserTransaction userTransaction,
    WorkflowParticipant performer,
    int itemStatus)
    throws WorkflowException
  {
    WorkflowParticipant participant = session.getParticipant();
    List workList =
      spiCaseDatabase.getWorkflowWorkList(
        workflowProcess,
        participant,
        userTransaction,
View Full Code Here

    WorkflowCase workflowCase,
    WorkflowParticipant performer,
    int itemStatus)
    throws WorkflowException
  {
    WorkflowParticipant participant = session.getParticipant();
    List workList =
      spiCaseDatabase.getWorkflowWorkList(
        workflowProcess,
        participant,
        workflowCase,
View Full Code Here

    WorkflowCase workflowCase,
    WorkflowParticipant performer,
    int itemStatus)
    throws WorkflowException
  {
    WorkflowParticipant participant = session.getParticipant();
    List workList =
      spiCaseDatabase.getWorkflowWorkList(
        workflowProcess,
        participant,
        userTransaction,
View Full Code Here

    this.workflowService=workflowService; 
  }

  public SerialParticipant findParticipant(String username) throws RemoteException
  {
    WorkflowParticipant participant=workflowService.getUserDatabase().findParticipant(username);
   
    if(participant==null)
    {
      return null;
    }
View Full Code Here

  {
    ArrayList results = new ArrayList();
    Iterator users = database.getParticipants();
    while (users.hasNext())
    {
      WorkflowParticipant user = (WorkflowParticipant) users.next();
      if (user.isInDepartment(this))
      {
        results.add(user);
      }
    }
    return (results.iterator());
View Full Code Here

  public void removeParticipants()
  {
    Iterator users = database.getParticipants();
    while (users.hasNext())
    {
      WorkflowParticipant user = (WorkflowParticipant) users.next();
      if (user.isInDepartment(this))
      {
        user.removeDepartment(this);
      }
    }
  }
View Full Code Here

    {
      ArrayList results = new ArrayList();
      Iterator users = database.getParticipants();
      while (users.hasNext())
      {
        WorkflowParticipant user = (WorkflowParticipant) users.next();
        if (user.isInRole(this))
        {
          results.add(user);
        }
      }
      return (results.iterator());
View Full Code Here

    public void removeParticipants()
    {
      Iterator users = database.getParticipants();
      while (users.hasNext())
      {
        WorkflowParticipant user = (WorkflowParticipant) users.next();
        if (user.isInRole(this))
        {
          user.removeRole(this);
        }
      }
    }
View Full Code Here

      WorkflowActivity beginActivity = workflowProcess.getBeginActivity();
     
      List outTrans = beginActivity.getOutgoingTransitions();
      WorkflowTransition firstTransition = (WorkflowTransition) outTrans.get(0);

      WorkflowParticipant operator=creator;
     
      WorkflowActivity firstActivity = firstTransition.getToWorkflowActivity();
      String workId =
        createWork(gCaseDatabaseImpl,operator,conn, workflowProcess, caseId, firstActivity, creator, creationTime);
      createPath(gCaseDatabaseImpl,workflowProcess,operator,conn, caseId, null, workId, WorkflowActivityEvent.WORK_DISPATCH);
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.