org.zeroexchange.resource.tender
Class DAOTenderWriter

java.lang.Object
  extended by org.zeroexchange.resource.tender.DAOTenderWriter
All Implemented Interfaces:
TenderWriter

public class DAOTenderWriter
extends Object
implements TenderWriter

Author:
black

Constructor Summary
DAOTenderWriter()
           
 
Method Summary
 ResourceTender addViewer(ResourceTender tender, User viewer)
          Marks that contract was viewed by the specified viewer.
 ResourceTender save(ResourceTender tender)
          Persists the resource tender.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOTenderWriter

public DAOTenderWriter()
Method Detail

save

@Transactional
public ResourceTender save(ResourceTender tender)
Persists the resource tender.

Specified by:
save in interface TenderWriter

addViewer

@Transactional
public ResourceTender addViewer(ResourceTender tender,
                                              User viewer)
Marks that contract was viewed by the specified viewer.

Specified by:
addViewer in interface TenderWriter


Copyright © 2013. All Rights Reserved.