Package org.zeroexchange.flow.collaboration.step

Examples of org.zeroexchange.flow.collaboration.step.ContractFlowStep


     * Calculates the next  status of the specified contract.
     */
    protected ContractStatus getNextContractStatus(Contract contract) {
       
        ContractStatus contractStatus = contract.getStatus();
        ContractFlowStep currentContractStep = contractFlowStatesRegistry.getFlowStep(contractStatus);
        if(currentContractStep == null) {
            throw new BusinessLogicException("Cannot find processor to process contract status '" + contractStatus + "'");
        }
       
        return currentContractStep.nextStep(contract);
    }
View Full Code Here

TOP

Related Classes of org.zeroexchange.flow.collaboration.step.ContractFlowStep

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.