org.zeroexchange.resource.tender
Class NeedWorkflowManager

java.lang.Object
  extended by org.zeroexchange.resource.tender.DefaultTenderWorkflowManager<Need>
      extended by org.zeroexchange.resource.tender.NeedWorkflowManager
All Implemented Interfaces:
INeedWorkflowManager, TenderWorkflowManager<Need>

public class NeedWorkflowManager
extends DefaultTenderWorkflowManager<Need>
implements INeedWorkflowManager

Author:
black

Constructor Summary
NeedWorkflowManager()
           
 
Method Summary
 void completeTender(Need need)
          Marks tender as completed by the initiator.
protected  ResourceTenderDAO<Need> getDAO()
          
 Need getNeed(Integer tenderId)
          Returns the supply.
 SlicingDataSet<Need> getNeeds(Resource resource, Integer excludedUserId)
          Returns tenders belonging to the specified resource.
 
Methods inherited from class org.zeroexchange.resource.tender.DefaultTenderWorkflowManager
acceptTender, declineTender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zeroexchange.resource.tender.TenderWorkflowManager
acceptTender, declineTender
 

Constructor Detail

NeedWorkflowManager

public NeedWorkflowManager()
Method Detail

getNeed

public Need getNeed(Integer tenderId)
Returns the supply.

Specified by:
getNeed in interface INeedWorkflowManager

completeTender

public void completeTender(Need need)
Marks tender as completed by the initiator.

Specified by:
completeTender in interface INeedWorkflowManager

getDAO

protected ResourceTenderDAO<Need> getDAO()

Specified by:
getDAO in class DefaultTenderWorkflowManager<Need>

getNeeds

public SlicingDataSet<Need> getNeeds(Resource resource,
                                     Integer excludedUserId)
Returns tenders belonging to the specified resource.

Specified by:
getNeeds in interface INeedWorkflowManager


Copyright © 2013. All Rights Reserved.