|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zeroexchange.collaboration.contract.read.DefaultContractInformant
public class DefaultContractInformant
Constructor Summary | |
---|---|
DefaultContractInformant()
|
Method Summary | |
---|---|
Collection<User> |
getCreditors(Contract contract)
Returns list if contract's participants with positive balance. |
Set<User> |
getEffectiveSuppliers(Contract contract)
Returns effective users of the specified contract. |
BigDecimal |
getUserContributionPrice(Contract contract,
User user,
ZECurrency currency)
Returns value of the contribution made by the specified user into the specified contract. |
boolean |
isUserEffective(Contract contract,
Integer userId)
Returns true if the user has accepted tenders in the contract. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultContractInformant()
Method Detail |
---|
public BigDecimal getUserContributionPrice(Contract contract, User user, ZECurrency currency)
getUserContributionPrice
in interface ContractInformant
public Collection<User> getCreditors(Contract contract)
getCreditors
in interface ContractInformant
public Set<User> getEffectiveSuppliers(Contract contract)
getEffectiveSuppliers
in interface ContractInformant
public boolean isUserEffective(Contract contract, Integer userId)
isUserEffective
in interface ContractInformant
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |