Package smilehouse.opensyncro.pipes

Examples of smilehouse.opensyncro.pipes.Pipe.transfer()


        //Try to get pipe id from the request.
        Long pipeId=new Long(parameters.getLong(PIPE_ID));
        if(pipeId!=0){
          //If the start button of one of the pipes was pressed, execute the pipe
          Pipe startedPipe=pers.loadPipe(pipeId);
          startedPipe.transfer(new TransferInfo(pers.getDatabaseName(),(String)session.getAttribute("syncro.user")));
          pers.update(startedPipe);
        }
        if(requestType == POST_REQUEST) {
            if(parameters.getInt(ACTION) == 1) {
View Full Code Here


        en.log("Set execution start time and updating pipe: "+pipe.getName());
        // Update PipeExecutionRequst
        peq.updatePERequest(per);
        en.log("Starting execution of pipe: "+pipe.getName());
        // Start pipe transfer with request creation date
        pipe.transfer(this.ti, per.getCreatedDate());
        en.log("Finished execution of pipe: "+pipe.getName());
        // Update pipe after execution
        peq.updatePipe();
        en.log("Updated pipe "+pipe.getName());
        // Remove completed PipeExecutionRequest from queue
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.