|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zeroexchange.collaboration.contract.write.DAOContractWriter
@Transactional public class DAOContractWriter
The contracts writer uses DAO for contract persistence.
Constructor Summary | |
---|---|
DAOContractWriter()
|
Method Summary | |
---|---|
Contract |
accept(User user,
Contract contract)
|
Contract |
addViewer(Contract contract,
User viewer)
Marks that contract was viewed by the specified viewer. |
void |
markUserEffective(Integer contractId,
User tenderOwner)
Marks specified user as effective. |
void |
markUserIneffective(Integer contractId,
User tenderOwner)
Marks specified user as ineffective. |
Contract |
save(Contract contract)
Persists the specified contract. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DAOContractWriter()
Method Detail |
---|
public Contract save(Contract contract)
save
in interface ContractWriter
public Contract addViewer(Contract contract, User viewer)
addViewer
in interface ContractWriter
public Contract accept(User user, Contract contract)
accept
in interface ContractWriter
public void markUserEffective(Integer contractId, User tenderOwner)
markUserEffective
in interface ContractWriter
contractId
- TODOpublic void markUserIneffective(Integer contractId, User tenderOwner)
markUserIneffective
in interface ContractWriter
contractId
- TODO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |