com.sri.emo.annotations
Class DoDelete

java.lang.Object
  extended by com.sri.emo.annotations.DoDelete
All Implemented Interfaces:
StateHandler

public class DoDelete
extends Object
implements StateHandler

Deletes the tag.

Author:
Michael Rimov

Field Summary
static String DESCRIPTION
           
static String NAME
           
static String PARAM_TAG
           
 
Constructor Summary
DoDelete()
           
 
Method Summary
 void handleRequest(ExpressoRequest request, ExpressoResponse response)
          Called to handle the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values

PARAM_TAG

public static final String PARAM_TAG
See Also:
Constant Field Values
Constructor Detail

DoDelete

public DoDelete()
Method Detail

handleRequest

public void handleRequest(ExpressoRequest request,
                          ExpressoResponse response)
                   throws DBException,
                          ControllerException
Description copied from interface: StateHandler
Called to handle the request. Here's an example of the usage within an Expresso Controller state handler. It is assumed that the class MyHandler implements the StateHandler interface.

 protected void runMyState(final ControllerRequest request,
        final ControllerResponse response) throws ControllerException, DBException {
 

MyHander handler = new MyHandler(); handler.handleRequest(request,response); }

Specified by:
handleRequest in interface StateHandler
Parameters:
request - ControllerRequest The Function's ControllerRequest object.
response - ControllerResponse The Function's ControllerResponse object.
Throws:
DBException - upon underlying database exception error.
ControllerException - upon underlying ControllerException error.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.