|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.dataengine.action.AbstractAction
planetj.dataengine.action.ObjectAction
Field Summary |
Fields inherited from class planetj.dataengine.action.AbstractAction |
DEFAULT_TYPE |
Constructor Summary | |
ObjectAction(IActionObject actionObject)
|
Method Summary | |
IActionObject |
getActionObject()
Gets the action object this action is to be carried out upon |
ObjectAction |
getCorrectAction(IActionObject ao)
Gets the correct action object for the given parameter. |
java.lang.String |
getDefaultLocation()
Get the default location where this action is to be generated |
ActionDescriptor |
getDescriptor()
Get the descriptor for this action. |
java.lang.Object |
handleAction(java.lang.Object o,
ExecutingContext ec)
Subclasses need to provide logic to handle the action they wish to perform. |
java.lang.Object |
handleObjectAction(IActionObject ao,
java.lang.Object o,
ExecutingContext ec)
|
boolean |
isApplicable(IActionObject ao,
java.lang.Object o,
ExecutingContext ec)
Check to see if this action is applicable for the given action object |
boolean |
isApplicable(java.lang.Object o,
ExecutingContext ec)
Check to see if this action is applicable for the given action object |
void |
setActionObject(IActionObject actionObject)
Sets the action object this action is to be carried out upon |
Methods inherited from class planetj.dataengine.action.AbstractAction |
clone, cloneAction, getDefaultDescriptor, getDetailsLocations, getDetailsModes, getLocation, getLocations, getName, 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, createActionRequest |
Constructor Detail |
public ObjectAction(IActionObject actionObject)
Method Detail |
public IActionObject getActionObject()
public ObjectAction getCorrectAction(IActionObject ao)
public java.lang.String getDefaultLocation()
AbstractAction
getDefaultLocation
in class AbstractAction
public ActionDescriptor getDescriptor()
getDescriptor
in class AbstractAction
public final java.lang.Object handleAction(java.lang.Object o, ExecutingContext ec) throws CMException
AbstractAction
handleAction
in class AbstractAction
o
- Object to perform the action on
CMException
public java.lang.Object handleObjectAction(IActionObject ao, java.lang.Object o, ExecutingContext ec) throws CMException
CMException
public final boolean isApplicable(java.lang.Object o, ExecutingContext ec) throws CMException
CMException
public boolean isApplicable(IActionObject ao, java.lang.Object o, ExecutingContext ec) throws CMException
CMException
public final void setActionObject(IActionObject actionObject)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |