org.zeroexchange.resource.tender
Class DefaultTenderWorkflowManager<T extends ResourceTender>

java.lang.Object
  extended by 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

Constructor Summary
DefaultTenderWorkflowManager()
           
 
Method Summary
 void acceptTender(T foreignTender)
          Accepts tender and reserves resource if possible.
 void declineTender(T foreignTender)
          Declines tender and frees resource if possible.
protected abstract  ResourceTenderDAO<T> getDAO()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTenderWorkflowManager

public DefaultTenderWorkflowManager()
Method Detail

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.