|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zeroexchange.flow.collaboration.DefaultContractFlow
@Transactional public class DefaultContractFlow
The default implementation of the contract flow.
| Constructor Summary | |
|---|---|
DefaultContractFlow()
|
|
| Method Summary | |
|---|---|
protected ContractStatus |
getNextContractStatus(Contract contract)
Calculates the next status of the specified contract. |
Class<ContractChanged> |
getProcessingClass()
Returns root hierarchy current processor can operate |
void |
onEvent(ContractChanged 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 DefaultContractFlow()
| Method Detail |
|---|
public Class<ContractChanged> getProcessingClass()
getProcessingClass in interface DataProcessorpublic void onEvent(ContractChanged event)
onEvent in interface EventProcessor<ContractChanged>protected ContractStatus getNextContractStatus(Contract contract)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||