|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContractReader
Service provides information about contracts.
Method Summary | |
---|---|
Collection<User> |
getAllAcceptedUsers(Contract contract)
Returns all the users of the contract. |
SlicingDataSet<Contract> |
getAvailableContracts(SortDescriptor sortDescriptor,
ContractFilter filter,
User viewer)
Returns data set with available contracts. |
Contract |
getContract(Integer contractId)
Returns the contract by its Id. |
long |
getUserContractsNumber(User user)
Returns the number of contracts where the specified user is a participant. |
Method Detail |
---|
SlicingDataSet<Contract> getAvailableContracts(SortDescriptor sortDescriptor, ContractFilter filter, User viewer)
viewer
- TODOuserContractRole
- Contract getContract(Integer contractId)
Collection<User> getAllAcceptedUsers(Contract contract)
long getUserContractsNumber(User user)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |