org.zeroexchange.resource.tender
Class NeedWorkflowManager
java.lang.Object
org.zeroexchange.resource.tender.DefaultTenderWorkflowManager<Need>
org.zeroexchange.resource.tender.NeedWorkflowManager
- All Implemented Interfaces:
- INeedWorkflowManager, TenderWorkflowManager<Need>
public class NeedWorkflowManager
- extends DefaultTenderWorkflowManager<Need>
- implements INeedWorkflowManager
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NeedWorkflowManager
public NeedWorkflowManager()
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.