Package org.uengine.webservices.worklist

Examples of org.uengine.webservices.worklist.WorkListServiceLocator


  protected void cancelWorkItem(ProcessInstance instance) throws Exception{
    cancelWorkItem(instance, null);
  }
 
  protected void cancelWorkItem(ProcessInstance instance, String status) throws Exception{
    WorkList worklist = (new WorkListServiceLocator()).getWorkList();
   
    KeyedParameter[] parameters = new KeyedParameter[]{new KeyedParameter("status",status)};

    String[] taskIds = getTaskIds(instance);
   
View Full Code Here


      instance.putRoleMapping(roleMapping);
    }
   
    String[] taskIds = getTaskIds(instance);
   
    WorkList wl = (new WorkListServiceLocator()).getWorkList();

    ResultPayload rp = new ResultPayload();
    rp.setExtendedValue(new KeyedParameter(KeyedParameter.DEFAULT_STATUS, DefaultWorkList.WORKITEM_STATUS_DELEGATED));
    rp.setExtendedValue(new KeyedParameter("endDate", DAOFactory.getInstance(instance.getProcessTransactionContext()).getNow().getTime()));
    rp.setExtendedValue(new KeyedParameter(KeyedParameter.DISPATCHINGOPTION, "" + Role.DISPATCHINGOPTION_ALL));
View Full Code Here

   
    String[] taskIds = getTaskIds(instance);
    if(taskIds == null || taskIds.length == 0){
      addWorkitem(instance, DefaultWorkList.WORKITEM_STATUS_DRAFT);
    }else{ //wl update : flag 'DRAFT'
      WorkList wl = (new WorkListServiceLocator()).getWorkList();

      ResultPayload rp = new ResultPayload();
      rp.setExtendedValue(new KeyedParameter(KeyedParameter.DEFAULT_STATUS, DefaultWorkList.WORKITEM_STATUS_DRAFT));
     
      rp.setExtendedValue(new KeyedParameter("saveDate", now));
View Full Code Here

    super.stop(status);
    getProcessInstanceDAO().setStatus(status);
  }
 
  public WorkList getWorkList() {
    return (new WorkListServiceLocator()).getWorkList();
  }
View Full Code Here

TOP

Related Classes of org.uengine.webservices.worklist.WorkListServiceLocator

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.