org.zeroexchange.collaboration.contract.permission
Interface ContractPermissionsInformant

All Known Implementing Classes:
DAOContractPermissionsInformant

public interface ContractPermissionsInformant

Interface for service aware concerning permissions allowed for operations on contract.

Author:
black

Method Summary
 boolean isAddResourceAllowed(Contract contract)
          Returns true if the current user is allowed to add the resource.
 boolean isContractAcceptanceAllowed(Contract contract)
          Returns true if the user can accept the contract.
 boolean isContractCancelAcceptanceAllowed(Contract contract)
          Returns true if the user can cancel the contract's acceptance.
 boolean isTenderDeclineEnabled(ResourceTender resourceTender)
          Returns true if the user is allowed to decline the resource tender.
 boolean isTendersManagementAllowed(Contract contract, Resource resource)
          Returns true if the tender management is allowed for the user.
 

Method Detail

isAddResourceAllowed

boolean isAddResourceAllowed(Contract contract)
Returns true if the current user is allowed to add the resource.


isContractAcceptanceAllowed

boolean isContractAcceptanceAllowed(Contract contract)
Returns true if the user can accept the contract.


isContractCancelAcceptanceAllowed

boolean isContractCancelAcceptanceAllowed(Contract contract)
Returns true if the user can cancel the contract's acceptance.


isTenderDeclineEnabled

boolean isTenderDeclineEnabled(ResourceTender resourceTender)
Returns true if the user is allowed to decline the resource tender.


isTendersManagementAllowed

boolean isTendersManagementAllowed(Contract contract,
                                   Resource resource)
Returns true if the tender management is allowed for the user.



Copyright © 2013. All Rights Reserved.