|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zeroexchange.collaboration.contract.permission.DAOContractPermissionsInformant
public class DAOContractPermissionsInformant
DAO-based PermissionsInformer implementation
| Constructor Summary | |
|---|---|
DAOContractPermissionsInformant()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DAOContractPermissionsInformant()
| Method Detail |
|---|
public boolean isContractAcceptanceAllowed(Contract contract)
isContractAcceptanceAllowed in interface ContractPermissionsInformantpublic boolean isContractCancelAcceptanceAllowed(Contract contract)
isContractCancelAcceptanceAllowed in interface ContractPermissionsInformantpublic boolean isAddResourceAllowed(Contract contract)
isAddResourceAllowed in interface ContractPermissionsInformantpublic boolean isTenderDeclineEnabled(ResourceTender resourceTender)
isTenderDeclineEnabled in interface ContractPermissionsInformant
public boolean isTendersManagementAllowed(Contract contract,
Resource resource)
isTendersManagementAllowed in interface ContractPermissionsInformant
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||