Package org.dspace.xmlworkflow.storedcomponents

Examples of org.dspace.xmlworkflow.storedcomponents.ClaimedTask


      {
        for (String workflowID : workflowIDs)
        {
                XmlWorkflowItem workflowItem = XmlWorkflowItem.find(context, Integer.valueOf(workflowID.split(":")[0]));

                ClaimedTask pooledTask = ClaimedTask.findByWorkflowIdAndEPerson(context, workflowItem.getID(), context.getCurrentUser().getID());
                XmlWorkflowManager.deleteClaimedTask(context, workflowItem, pooledTask);

                WorkflowRequirementsManager.removeClaimedUser(context, workflowItem, context.getCurrentUser(), workflowID.split(":")[1]);
                log.info(LogManager.getHeader(context, "unclaim_workflow", "workflow_id=" + workflowItem.getID()));
View Full Code Here

TOP

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

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.