planetj.dataengine.action
Class NamedAction

java.lang.Object
  extended byplanetj.dataengine.action.AbstractAction
      extended byplanetj.dataengine.action.ObjectAction
          extended byplanetj.dataengine.action.NamedAction
All Implemented Interfaces:
java.lang.Cloneable, IHttpAction, java.io.Serializable
Direct Known Subclasses:
NamedFieldAction, NamedOperationAction, NamedRowAction, NamedRowCollectionAction

public abstract class NamedAction
extends ObjectAction
implements IHttpAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class planetj.dataengine.action.AbstractAction
DEFAULT_TYPE
 
Constructor Summary
NamedAction(java.lang.String actionName, IActionObject actionObject)
           
 
Method Summary
 IActionRequest createActionRequest(HttpServletRequest request, HttpServletResponse response)
          Get a magic request that may be used to execute this action.
 java.lang.String getName()
          Subclasses may override if necessary.
 
Methods inherited from class planetj.dataengine.action.ObjectAction
getActionObject, getCorrectAction, getDefaultLocation, getDescriptor, handleAction, handleObjectAction, isApplicable, isApplicable, setActionObject
 
Methods inherited from class planetj.dataengine.action.AbstractAction
clone, cloneAction, getDefaultDescriptor, getDetailsLocations, getDetailsModes, getLocation, getLocations, getType, handleAction, handleAction, setDescriptor
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface planetj.dataengine.action.IHttpAction
createActionRequest
 

Constructor Detail

NamedAction

public NamedAction(java.lang.String actionName,
                   IActionObject actionObject)
Method Detail

createActionRequest

public final IActionRequest createActionRequest(HttpServletRequest request,
                                                HttpServletResponse response)
                                         throws CMException
Description copied from interface: IHttpAction
Get a magic request that may be used to execute this action.

Specified by:
createActionRequest in interface IHttpAction
Throws:
CMException

getName

public java.lang.String getName()
Description copied from class: AbstractAction
Subclasses may override if necessary. Doing so will allow subclasses to have their own distinct action name

Specified by:
getName in class AbstractAction