Examples of WorkflowTask


Examples of org.apache.oodt.cas.workflow.structs.WorkflowTask

     * @see org.apache.oodt.cas.workflow.repository.WorkflowRepository#getConditionsByTaskName(java.lang.String)
     */
    public List getConditionsByTaskName(String taskName)
            throws RepositoryException {
        for (Iterator i = taskMap.values().iterator(); i.hasNext();) {
            WorkflowTask t = (WorkflowTask) i.next();
            if (t.getTaskName().equals(taskName)) {
                return t.getConditions();
            }
        }

        return null;
    }
View Full Code Here

Examples of org.apache.oodt.cas.workflow.structs.WorkflowTask

     * (non-Javadoc)
     *
     * @see org.apache.oodt.cas.workflow.repository.WorkflowRepository#getConditionsByTaskId(java.lang.String)
     */
    public List getConditionsByTaskId(String taskId) throws RepositoryException {
        WorkflowTask t = (WorkflowTask) taskMap.get(taskId);
        if (t != null) {
            return t.getConditions();
        } else
            return null;
    }
View Full Code Here

Examples of org.openbp.server.context.WorkflowTask

    // The any workflow tasks that are associated with our process.
    WorkflowTaskCriteria criteria = new WorkflowTaskCriteria();
    criteria.setTokenContext(token);
    Iterator it = processFacade.getworkflowTasks(criteria);
    assertTrue(it.hasNext());
    WorkflowTask task = (WorkflowTask) it.next();

    TokenContext taskToken = task.getTokenContext();

    // Check the process variables of the token context
    Object p2 = taskToken.getProcessVariableValue("globalObject");
    assertTrue(p2 instanceof PersistedComplexParam);
    PersistedComplexParam rcp2 = (PersistedComplexParam) p2;
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.