org.nanocontainer.nanowar.sample.service.defaults
Class DefaultCheeseService
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCheeseService
public DefaultCheeseService(CheeseDao dao)
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.