Package ilog.webui.dhtml.components
Class IlxWJavaAction
- java.lang.Object
-
- ilog.webui.dhtml.components.IlxWRequestAction
-
- ilog.webui.dhtml.components.IlxWJavaAction
-
- All Implemented Interfaces:
IlxWAction,IlxWDependencyProvider,IlxWJSObject,Serializable
- Direct Known Subclasses:
IlrDTWWebDecisionTableViewController.DTAction
@Deprecated public abstract class IlxWJavaAction extends IlxWRequestAction
Deprecated.Java action.
A Java action is basically a request action that includes a method perform(Object [] args). This method is executed on the server just before the call specified in the request descriptor is forwarded.Remarks:
- By default, the request descriptor associated with a Java action is set to IlxWRequestDesc.WPORT.
- If the request descriptor is set to null, the action will be postponed, meaning that it will not be sent immediately to the server, but it will be cached on the client until the next request is sent to the server.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IlxWJavaAction()Deprecated.Constructs a Java action withIlxWRequestDesc.WPORTas the request descriptor.IlxWJavaAction(IlxWRequestDesc desc)Deprecated.Constructs a Java action with the given request descriptor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetType()Deprecated.Gets the type of this action.booleanisJavaAction()Deprecated.Tells whether this action is a Java action or not.abstract voidperform(IlxWPort port, IlxWComponent source, Object[] args)Deprecated.Performs the action.voidsetPostponed(boolean postponed)Deprecated.Sets the postponed property of the action.-
Methods inherited from class ilog.webui.dhtml.components.IlxWRequestAction
getJSRef, notifyDependencies, setRequest
-
-
-
-
Constructor Detail
-
IlxWJavaAction
public IlxWJavaAction(IlxWRequestDesc desc)
Deprecated.Constructs a Java action with the given request descriptor.
-
IlxWJavaAction
public IlxWJavaAction()
Deprecated.Constructs a Java action withIlxWRequestDesc.WPORTas the request descriptor.
-
-
Method Detail
-
getType
public int getType()
Deprecated.Description copied from interface:IlxWActionGets the type of this action.- Specified by:
getTypein interfaceIlxWAction- Overrides:
getTypein classIlxWRequestAction- Returns:
- The type of this action.
-
isJavaAction
public boolean isJavaAction()
Deprecated.Description copied from interface:IlxWActionTells whether this action is a Java action or not.- Specified by:
isJavaActionin interfaceIlxWAction- Overrides:
isJavaActionin classIlxWRequestAction- Returns:
- true if this action is a Java action.
-
setPostponed
public void setPostponed(boolean postponed)
Deprecated.Sets the postponed property of the action. This internally sets the request descriptor tonull.- Parameters:
postponed- Iftruethe server will not be requested immediately after the user interaction, but will wait for the next request. Iffalse, the server is immediately requested and the action is performed as soon as the request is processed.
-
perform
public abstract void perform(IlxWPort port, IlxWComponent source, Object[] args)
Deprecated.Performs the action.This method is called during execution of the
IlxWController.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)method, just after having processed the modified component queue.- Parameters:
port- The port where the response to the current request will be printed.source- The component on which the action has been initially triggered.args- An array of arguments. Those arguments depend on the component with which the action is associated.- See Also:
IlxWController
-
-