org.nanocontainer.nanowar.sample.service.defaults
Class DefaultCheeseService

java.lang.Object
  extended by org.nanocontainer.nanowar.sample.service.defaults.DefaultCheeseService
All Implemented Interfaces:
Serializable, CheeseService

public class DefaultCheeseService
extends Object
implements CheeseService, Serializable

Default implementation of CheeseService. Typically it will be used a proxy to delegate execution of the MVC-framework specific action.

Author:
Stephen Molitor, Mauro Talevi
See Also:
Serialized Form

Constructor Summary
DefaultCheeseService(CheeseDao dao)
           
 
Method Summary
 Cheese find(Cheese example)
           
 Collection getCheeses()
           
 void remove(Cheese cheese)
           
 void save(Cheese cheese)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCheeseService

public DefaultCheeseService(CheeseDao dao)
Method Detail

getCheeses

public Collection getCheeses()
Specified by:
getCheeses in interface CheeseService

find

public Cheese find(Cheese example)
Specified by:
find in interface CheeseService

save

public void save(Cheese cheese)
Specified by:
save in interface CheeseService

remove

public void remove(Cheese cheese)
Specified by:
remove in interface CheeseService


Copyright © 2003-2007 Codehaus. All Rights Reserved.