Package au.edu.qut.yawl.worklet.selection

Examples of au.edu.qut.yawl.worklet.selection.CheckedOutItem


            // if its suspended, move it to executing first
            if (wir.getStatus().equals(WorkItemRecord.statusSuspended))
               unsuspendWorkItem(wir);
            if (wir.getStatus().equals(WorkItemRecord.statusFired) ||
                wir.getStatus().equals(WorkItemRecord.statusEnabled)) {
                CheckedOutItem coi = executeWorkItem(wir);
                wir = coi.getChildWorkItem(0);
            }

            _ixClient.cancelWorkItem(wir.getID(), false, _sessionHandle);
            _log.info("WorkItem successfully removed from Engine: " + wir.getID());
View Full Code Here


        // if its suspended, move it to executing first
        if (wir.getStatus().equals(WorkItemRecord.statusSuspended))
           unsuspendWorkItem(wir);
        if (wir.getStatus().equals(WorkItemRecord.statusFired) ||
            wir.getStatus().equals(WorkItemRecord.statusEnabled)) {
            CheckedOutItem coi = executeWorkItem(wir);
            wir = coi.getChildWorkItem(0);
            data = wir.getWorkItemData();
        }

        if (wir.getStatus().equals(WorkItemRecord.statusExecuting)) {
            try {
View Full Code Here

            // if its suspended, move it to executing first
            if (wir.getStatus().equals(WorkItemRecord.statusSuspended))
               unsuspendWorkItem(wir);
            if (wir.getStatus().equals(WorkItemRecord.statusFired) ||
                wir.getStatus().equals(WorkItemRecord.statusEnabled)) {
                CheckedOutItem coi = executeWorkItem(wir);
                wir = coi.getChildWorkItem(0);
            }

            _ixClient.cancelWorkItem(wir.getID(), true, _sessionHandle);
            _log.debug("WorkItem successfully failed: " + wir.getID());
View Full Code Here

    /**
     * Moves a fired or enabled item to executing
     */
    private CheckedOutItem executeWorkItem(WorkItemRecord wir) {
        CheckedOutItem coItem = checkOutParentItem(wir) ;
        checkOutChildren(coItem) ;            // always at least one child
        return coItem ;
    }
View Full Code Here

TOP

Related Classes of au.edu.qut.yawl.worklet.selection.CheckedOutItem

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.