live.struts.actions
Class DeleteSharedMemAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bylive.struts.actions.CheckedAction
          extended bylive.struts.actions.SwitchedAction
              extended bylive.struts.actions.DeleteSharedMemAction

public class DeleteSharedMemAction
extends SwitchedAction

Action to delete a shared memory segment as specified in the request parameter segName


Nested Class Summary
 
Nested classes inherited from class live.struts.actions.CheckedAction
CheckedAction.ActionInfo
 
Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
DeleteSharedMemAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward displayPage(CheckedAction.ActionInfo info)
          This function is called when a request was submitted by an HTTP GET request.
 org.apache.struts.action.ActionForward performAction(CheckedAction.ActionInfo info)
          This function is called when a request was submitted by an HTTP POST request.
 
Methods inherited from class live.struts.actions.SwitchedAction
act
 
Methods inherited from class live.struts.actions.CheckedAction
execute
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteSharedMemAction

public DeleteSharedMemAction()
Method Detail

performAction

public org.apache.struts.action.ActionForward performAction(CheckedAction.ActionInfo info)
Description copied from class: SwitchedAction
This function is called when a request was submitted by an HTTP POST request. This function should actually perform whatever action the user wanted. You should probably strive to make it so that the URL that calls this action can only be POSTed to from the page displayed by SwitchedAction.displayPage(CheckedAction.ActionInfo) so that you know that the user is coming from that page.

Specified by:
performAction in class SwitchedAction
Parameters:
info - The request info passed to SwitchedAction.act(CheckedAction.ActionInfo)
Returns:
The forward to go to
See Also:
SwitchedAction.performAction(live.struts.actions.CheckedAction.ActionInfo)

displayPage

public org.apache.struts.action.ActionForward displayPage(CheckedAction.ActionInfo info)
Description copied from class: SwitchedAction
This function is called when a request was submitted by an HTTP GET request. Implement this in subclasses to display a page where the user can enter any information necessary to actually do something, confirm that they want to actually do something, etc.

Specified by:
displayPage in class SwitchedAction
Parameters:
info - The request info passed to SwitchedAction.act(CheckedAction.ActionInfo)
Returns:
The forward to go to
See Also:
SwitchedAction.displayPage(live.struts.actions.CheckedAction.ActionInfo)


Copyright © 2005