|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zeroexchange.user.TenderChangedListener
public class TenderChangedListener
Listens ResourceSupplyConfirmarion event and updates Contract's 'effectiveUsers' collection.
Constructor Summary | |
---|---|
TenderChangedListener()
|
Method Summary | |
---|---|
Class<TenderChanged> |
getProcessingClass()
Returns root hierarchy current processor can operate |
protected boolean |
internalIsUserEffective(Contract contract,
Integer userId,
Set<Integer> passedUserIds)
Determines whether the user is effective recursively. |
void |
onEvent(TenderChanged event)
Is called when event occurred. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TenderChangedListener()
Method Detail |
---|
public Class<TenderChanged> getProcessingClass()
getProcessingClass
in interface DataProcessor
public void onEvent(TenderChanged event)
onEvent
in interface EventProcessor<TenderChanged>
protected boolean internalIsUserEffective(Contract contract, Integer userId, Set<Integer> passedUserIds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |