com.sri.emo.annotations
Class PromptDeleteTag

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

public class PromptDeleteTag
extends Object
implements StateHandler

Prompts for deleting a tag.

Version:
1.0
Author:
Michael Rimov

Field Summary
static String DESCRIPTION
           
static String NAME
           
static String TAG_ID
           
static String TAG_VALUE
           
 
Constructor Summary
PromptDeleteTag(Controller parent)
           
 
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

TAG_ID

public static final String TAG_ID
See Also:
Constant Field Values

TAG_VALUE

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

PromptDeleteTag

public PromptDeleteTag(Controller parent)
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.