Examples of requiresUI()


Examples of org.dspace.xmlworkflow.state.actions.WorkflowActionConfig.requiresUI()

     * @return a boolean
     */
    public boolean hasUI(){
        for (String actionConfigId : actionConfigsList) {
            WorkflowActionConfig actionConfig = getActionConfig(actionConfigId);
            if (actionConfig.requiresUI()) {
                return true;
            }
        }
        return false;
    }
View Full Code Here

Examples of org.dspace.xmlworkflow.state.actions.WorkflowActionConfig.requiresUI()

        try {
            Role role = getParent().getStep().getRole();
            if(role != null){
                WorkflowActionConfig nextAction = getParent().getStep().getNextAction(this.getParent());
                //Retrieve the action which has a user interface
                while(nextAction != null && !nextAction.requiresUI()){
                    nextAction = nextAction.getStep().getNextAction(nextAction);
                }

                if(nextAction != null){
                    WorkflowItemRole[] workflowItemRoles = WorkflowItemRole.find(c, wfi.getID(), role.getId());
View Full Code Here

Examples of org.dspace.xmlworkflow.state.actions.WorkflowActionConfig.requiresUI()

    public ActionResult execute(Context c, XmlWorkflowItem wfi, Step step, HttpServletRequest request) throws SQLException, AuthorizeException, IOException, WorkflowException {
        EPerson submitter = wfi.getSubmitter();
        Step currentStep = getParent().getStep();
        WorkflowActionConfig nextAction = getParent().getStep().getNextAction(this.getParent());
        //Retrieve the action which has a user interface
        while(nextAction != null && !nextAction.requiresUI()){
            nextAction = nextAction.getStep().getNextAction(nextAction);
        }

        createTaskForEPerson(c, wfi, step, nextAction, submitter);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.