public class ScriptActionPlugin extends BaseActionPlugin implements org.exoplatform.container.component.ComponentPlugin
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptActionPlugin.ScriptActionLauncherListener |
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_TYPE |
listeners_| Constructor and Description |
|---|
ScriptActionPlugin(ScriptService scriptService,
org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService repositoryService) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateAction(String userId,
String executable,
Map variables) |
protected Class |
createActivationJob() |
protected ECMEventListener |
createEventListener(String actionName,
String actionExecutable,
String repository,
String srcWorkspace,
String srcPath,
Map variables,
String actiontype) |
void |
executeAction(String userId,
javax.jcr.Node actionNode,
Map variables) |
void |
executeAction(String userId,
String executable,
Map variables) |
String |
getActionExecutableLabel() |
Collection<String> |
getActionExecutables() |
protected List |
getActions() |
protected String |
getActionType() |
String |
getDescription() |
String |
getExecutableDefinitionName() |
String |
getName() |
protected org.exoplatform.services.jcr.core.ManageableRepository |
getRepository() |
protected String |
getWorkspaceName() |
void |
setDescription(String desc) |
void |
setName(String s) |
addAction, addAction, getActionExecutable, getSystemSession, getVariableNames, importPredefinedActionsInJcr, initiateActionObservation, isActionTypeSupported, isVariable, reImportPredefinedActionsInJcr, removeActivationJob, removeObservation, reScheduleActivationspublic static final String ACTION_TYPE
public ScriptActionPlugin(ScriptService scriptService, org.exoplatform.container.xml.InitParams params, org.exoplatform.services.jcr.RepositoryService repositoryService) throws Exception
Exceptionpublic Collection<String> getActionExecutables() throws Exception
getActionExecutables in interface ActionPluginExceptionpublic String getActionExecutableLabel()
getActionExecutableLabel in interface ActionPluginpublic String getExecutableDefinitionName()
getExecutableDefinitionName in interface ActionPluginprotected String getWorkspaceName()
getWorkspaceName in class BaseActionPluginprotected org.exoplatform.services.jcr.core.ManageableRepository getRepository()
throws Exception
getRepository in class BaseActionPluginExceptionprotected String getActionType()
getActionType in class BaseActionPluginprotected List getActions()
getActions in class BaseActionPluginprotected ECMEventListener createEventListener(String actionName, String actionExecutable, String repository, String srcWorkspace, String srcPath, Map variables, String actiontype) throws Exception
createEventListener in class BaseActionPluginExceptionpublic String getName()
getName in interface org.exoplatform.container.component.ComponentPluginpublic void setName(String s)
setName in interface org.exoplatform.container.component.ComponentPluginpublic String getDescription()
getDescription in interface org.exoplatform.container.component.ComponentPluginpublic void setDescription(String desc)
setDescription in interface org.exoplatform.container.component.ComponentPluginpublic void executeAction(String userId, javax.jcr.Node actionNode, Map variables) throws Exception
executeAction in interface ActionPluginExceptionpublic void executeAction(String userId, String executable, Map variables) throws Exception
executeAction in interface ActionPluginExceptionpublic void activateAction(String userId, String executable, Map variables) throws Exception
activateAction in interface ActionPluginExceptionprotected Class createActivationJob() throws Exception
createActivationJob in class BaseActionPluginExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.