|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContractDAO
The DAO manipulated with the contract objects.
| Method Summary | |
|---|---|
Collection<User> |
getAllAcceptedContractUsers(Integer contractId)
Returns all accepted contract users. |
ProcessorAwareDataSet<Contract> |
getAvailableContracts(User viewer)
Returns data set for iteration through the available contract. |
long |
getUserContractsNumber(Integer userId)
Returns the number of contracts where the specified user is a participant. |
Collection<User> |
getUsers(Integer contractId)
Returns all users which resources are registered in the contract. |
| Methods inherited from interface org.zeroexchange.dao.DAO |
|---|
getById, removeById, save |
| Method Detail |
|---|
ProcessorAwareDataSet<Contract> getAvailableContracts(User viewer)
viewer - TODOCollection<User> getUsers(Integer contractId)
Collection<User> getAllAcceptedContractUsers(Integer contractId)
long getUserContractsNumber(Integer userId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||