org.davesag.generica.controller
Interface Saver
- All Superinterfaces:
- ActionController, Controller
- All Known Implementing Classes:
- AbstractUserProfileController
- public interface Saver
- extends ActionController
An implementation of the Saver interface must be able to save
an object to a peristant store.
- Since:
- Generica 1.0
- Version:
- CVS Revision $Id: Saver.java,v 1.2 2004/03/30 10:12:56 norm Exp $
- Author:
- Dave Sag
http://www.davesag.com
|
Method Summary |
Object |
save(Object o)
Saves the supplied object to the persistant store. |
save
public Object save(Object o)
throws Exception
- Saves the supplied object to the persistant store.
- Parameters:
o - The object to save.
- Returns:
- The saved object, or if you could not save and an error could be
deretimied then return a set of
ActionErrors. The
HandleUpdateAction will then return those errors rather than
continuing.
- Throws:
Exception - if something went wrong.
Dave Sag Generica API version 0.5.9 - (prerelease) Copyright © 2003 - 2004 Dave Sag.