Package net.datacrow.core.wf.requests

Examples of net.datacrow.core.wf.requests.IRequest


    protected void executeRequests(boolean saveSuccessful) {
        if (requests != null) {
            IRequest[] requestArray = requests.get();
            for (int i = 0; i < requestArray.length; i++) {
                IRequest request = requestArray[i];
                if (saveSuccessful || request.getExecuteOnFail())
                    request.execute();
                else
                    request.end();
            }
        }
    }
View Full Code Here


    public void run() {
        if (requests != null) {
            IRequest[] requestArray = requests.get();

            for (int i = 0; i < requestArray.length; i++) {
                IRequest request = requestArray[i];
               
                if (request instanceof IUpdateUIRequest) {
                    if (qryWasSuccess || request.getExecuteOnFail())
                        request.execute();
                    else
                        request.end();
                }
            }           
        }
        close();
    }
View Full Code Here

TOP

Related Classes of net.datacrow.core.wf.requests.IRequest

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.