public class AppletActionProcessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INFOMAP_SEPARATOR
Contraint type seprator
"\u00ef\u00bf\u00bd"
|
Constructor and Description |
---|
AppletActionProcessor() |
Modifier and Type | Method and Description |
---|---|
static AppletDefaultActionContext |
createAppletActionContext(java.lang.String projectId,
java.lang.String objectName,
java.lang.String skdObjectName,
java.lang.String actionName,
java.lang.String title,
java.lang.String multiRec,
java.lang.String menuOrder,
java.lang.String useWith,
int selectedRows)
Create application action context
|
static AppletActionInterface |
getActionClassInstance(java.lang.String projectId,
java.lang.String actionName,
java.lang.String objectName,
java.lang.String skdObjectName,
int selectedRows)
Added the call the invoke via PrivilegedAction
due to plugin restrictions (we get AccessControlException errors)
http://www.oracle.com/technetwork/java/javase/6u22releasenotes-176121.html
|
static AppletActionInterface |
getActionClassInstanceRemote(java.lang.String projectId,
java.lang.String actionName,
java.lang.String objectName,
java.lang.String skdObjectName,
int selectedRows)
Get an instance of applet action class
|
static SKDActionInfo |
getSKDActionInfo(java.lang.String actionName,
java.lang.String objectName,
java.lang.String skdObjectName)
Get the SKDActionInfo for the object,skdobject and action
|
static java.lang.Object |
invokeAction(java.lang.String projectId,
java.lang.String actionName,
java.lang.String objectName,
java.lang.String skdObjectName,
java.lang.Object actionObject,
boolean saveBeforeAction)
Added the call the invoke via PrivilegedAction
due to plugin restrictions (we get AccessControlException errors)
http://www.oracle.com/technetwork/java/javase/6u22releasenotes-176121.html
|
static java.lang.Object |
invokeActionRemote(java.lang.String projectId,
java.lang.String actionName,
java.lang.String objectName,
java.lang.String skdObjectName,
java.lang.Object actionObject,
boolean saveBeforeAction)
Invoke server action and get the result
|
public static final java.lang.String INFOMAP_SEPARATOR
public static java.lang.Object invokeAction(java.lang.String projectId, java.lang.String actionName, java.lang.String objectName, java.lang.String skdObjectName, java.lang.Object actionObject, boolean saveBeforeAction) throws java.lang.Exception
java.lang.Exception
public static java.lang.Object invokeActionRemote(java.lang.String projectId, java.lang.String actionName, java.lang.String objectName, java.lang.String skdObjectName, java.lang.Object actionObject, boolean saveBeforeAction) throws java.lang.Exception
Project
- idactionName
- - Name of the actionobjectName
- - Name of the object for which action is definedskdObjectName
- - Scheduler object name like SKDACTIVITYactionObject
- - object on which action will actsaveBeforeAction
- - flag to indicate if model need to be saved before action or not.java.lang.Exception
public static AppletActionInterface getActionClassInstance(java.lang.String projectId, java.lang.String actionName, java.lang.String objectName, java.lang.String skdObjectName, int selectedRows) throws java.lang.Exception
java.lang.Exception
public static AppletActionInterface getActionClassInstanceRemote(java.lang.String projectId, java.lang.String actionName, java.lang.String objectName, java.lang.String skdObjectName, int selectedRows) throws java.lang.Exception
Project
- idactionName
- - Name of the actionobjectName
- - Name of the object for which action is definedskdObjectName
- - Scheduler object name like SKDACTIVITYjava.lang.Exception
public static SKDActionInfo getSKDActionInfo(java.lang.String actionName, java.lang.String objectName, java.lang.String skdObjectName) throws java.lang.Exception
actionName
- - Name of the actionobjectName
- - Name of the object for which action is definedskdObjectName
- - Scheduler object name like SKDACTIVITYjava.lang.Exception
public static AppletDefaultActionContext createAppletActionContext(java.lang.String projectId, java.lang.String objectName, java.lang.String skdObjectName, java.lang.String actionName, java.lang.String title, java.lang.String multiRec, java.lang.String menuOrder, java.lang.String useWith, int selectedRows) throws java.lang.Exception
Project
- idobjectName
- - Name of the object for which action is definedskdObjectName
- - Scheduler object name like SKDACTIVITYactionName
- - Name of the actionjava.lang.Exception