Package org.dspace.xmlworkflow.storedcomponents

Examples of org.dspace.xmlworkflow.storedcomponents.PoolTask


      int[] workflowIDs = Util.getIntParameters(request, "workflowID");
      if (workflowIDs != null)
      {
            for (int workflowID : workflowIDs)
            {
                PoolTask poolTask = PoolTask.findByWorkflowIdAndEPerson(context, workflowID, context.getCurrentUser().getID());
                XmlWorkflowItem workflowItem = XmlWorkflowItem.find(context, workflowID);
                Workflow workflow = WorkflowFactory.getWorkflow(workflowItem.getCollection());

                WorkflowActionConfig currentAction = workflow.getStep(poolTask.getStepID()).getActionConfig(poolTask.getActionID());
                XmlWorkflowManager.doState(context, context.getCurrentUser(), request, workflowID, workflow, currentAction);
            }
            context.commit();
        }
View Full Code Here

TOP

Related Classes of org.dspace.xmlworkflow.storedcomponents.PoolTask

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.