org.zeroexchange.resource.write
Interface ResourceWriter

All Known Implementing Classes:
DAOResourceWriter

public interface ResourceWriter

Contains resource 'write' methods.

Author:
black

Method Summary
 Resource addNeed(Resource resource, Need resourceTender)
           
 Resource addSupply(Resource resource, Supply resourceTender)
           
<T extends Resource>
T
save(T resource)
          Persists the resource.
 

Method Detail

save

<T extends Resource> T save(T resource)
Persists the resource.


addSupply

Resource addSupply(Resource resource,
                   Supply resourceTender)

addNeed

Resource addNeed(Resource resource,
                 Need resourceTender)


Copyright © 2013. All Rights Reserved.