org.davesag.generica.controller
Interface Deleter

All Superinterfaces:
ActionController, Controller

public interface Deleter
extends ActionController

An implementation of the Deleter interface must be able to delete an object from a peristant store.

Since:
Generica 1.0
Version:
CVS Revision $Id: Deleter.java,v 1.2 2004/03/30 10:12:56 norm Exp $
Author:
Dave Sag http://www.davesag.com

Method Summary
 void delete(String key)
          Finds the object with the given key and deletes it from the persistent store.
 
Methods inherited from interface org.davesag.generica.controller.ActionController
setAction
 
Methods inherited from interface org.davesag.generica.controller.Controller
setForm, setRequest, setResponse
 

Method Detail

delete

public void delete(String key)
            throws Exception
Finds the object with the given key and deletes it from the persistent store.

Parameters:
key - A unique identifier for the the object to delete.
Throws:
Exception - if something went wrong.
See Also:
DeleteTargetAction


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.