public class AppletAction
extends java.lang.Object
Constructor and Description |
---|
AppletAction(java.lang.String projectId,
java.lang.String actionName,
java.lang.String objectName,
java.lang.String skdObjectName,
int selectedRows)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
invokeAction(java.lang.Object actionObject,
boolean saveBeforeAction)
Invoke server action and get the result
|
boolean |
isActionEnabled(java.lang.Object enableObject)
Check if the action is enabled or not.
|
public AppletAction(java.lang.String projectId, java.lang.String actionName, java.lang.String objectName, java.lang.String skdObjectName, int selectedRows)
Project
- idactionName
- - Name of the actionobjectName
- - Name of the object for which action is definedskdObjectName
- - Scheduler object name like SKDACTIVITYpublic void invokeAction(java.lang.Object actionObject, boolean saveBeforeAction)
actionObject
- - object on which action will actsaveBeforeAction
- - flag to indicate if model need to be saved before action or not.public boolean isActionEnabled(java.lang.Object enableObject)
enableObject
- - object on which condition will be checked if action is enabled or not