org.zeroexchange.resource.tender
Class DefaultTenderWorkflowManager<T extends ResourceTender>
java.lang.Object
org.zeroexchange.resource.tender.DefaultTenderWorkflowManager<T>
- All Implemented Interfaces:
- TenderWorkflowManager<T>
- Direct Known Subclasses:
- NeedWorkflowManager, SupplyWorkflowManager
@Transactional
public abstract class DefaultTenderWorkflowManager<T extends ResourceTender>
- extends Object
- implements TenderWorkflowManager<T>
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTenderWorkflowManager
public DefaultTenderWorkflowManager()
acceptTender
public void acceptTender(T foreignTender)
- Accepts tender and reserves resource
if possible.
- Specified by:
acceptTender
in interface TenderWorkflowManager<T extends ResourceTender>
declineTender
public void declineTender(T foreignTender)
- Declines tender and frees resource
if possible.
- Specified by:
declineTender
in interface TenderWorkflowManager<T extends ResourceTender>
getDAO
protected abstract ResourceTenderDAO<T> getDAO()
Copyright © 2013. All Rights Reserved.