org.zeroexchange.flow.collaboration
Interface ContractStatusInformant

All Known Implementing Classes:
PersonalContractStatusInformant

public interface ContractStatusInformant

Provides the current contract status.

Author:
black

Method Summary
 ContractStatus getContractStatus(Contract contract, Integer userId)
          Returns actual contract status.
 boolean isContractModificationAllowed(Contract contract)
          Returns true if the contract status allows to change the contract conditions.
 boolean isDeliveryDone(Contract contract, Integer currentUserId)
          Returns true if the user completed at least one delivery.
 

Method Detail

getContractStatus

ContractStatus getContractStatus(Contract contract,
                                 Integer userId)
Returns actual contract status.


isContractModificationAllowed

boolean isContractModificationAllowed(Contract contract)
Returns true if the contract status allows to change the contract conditions.


isDeliveryDone

boolean isDeliveryDone(Contract contract,
                       Integer currentUserId)
Returns true if the user completed at least one delivery.



Copyright © 2013. All Rights Reserved.