public abstract class BaseActionPlugin extends Object implements ActionPlugin
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ECMEventListener> |
listeners_ |
| Constructor and Description |
|---|
BaseActionPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(String actionType,
String srcWorkspace,
String srcPath,
boolean isDeep,
String[] uuid,
String[] nodeTypeNames,
Map mappings) |
void |
addAction(String actionType,
String srcWorkspace,
String srcPath,
Map mappings) |
protected abstract Class |
createActivationJob() |
protected abstract ECMEventListener |
createEventListener(String actionName,
String actionExecutable,
String repository,
String srcWorkspace,
String srcPath,
Map variables,
String actiontype) |
String |
getActionExecutable(String actionTypeName) |
protected abstract List |
getActions() |
protected abstract String |
getActionType() |
protected abstract org.exoplatform.services.jcr.core.ManageableRepository |
getRepository() |
protected javax.jcr.Session |
getSystemSession(String workspace) |
Collection<String> |
getVariableNames(String actionTypeName) |
protected abstract String |
getWorkspaceName() |
protected void |
importPredefinedActionsInJcr() |
void |
initiateActionObservation(javax.jcr.Node storedActionNode) |
boolean |
isActionTypeSupported(String actionType) |
boolean |
isVariable(String variable) |
protected void |
reImportPredefinedActionsInJcr() |
void |
removeActivationJob(String jobName,
String jobGroup,
String jobClass) |
void |
removeObservation(String repository,
String actionPath) |
void |
reScheduleActivations(javax.jcr.Node storedActionNode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivateAction, executeAction, executeAction, getActionExecutableLabel, getActionExecutables, getExecutableDefinitionNameprotected Map<String,ECMEventListener> listeners_
protected abstract String getWorkspaceName()
protected abstract org.exoplatform.services.jcr.core.ManageableRepository getRepository()
throws Exception
Exceptionprotected abstract String getActionType()
protected abstract List getActions()
protected abstract ECMEventListener createEventListener(String actionName, String actionExecutable, String repository, String srcWorkspace, String srcPath, Map variables, String actiontype) throws Exception
Exceptionprotected abstract Class createActivationJob() throws Exception
Exceptionpublic void addAction(String actionType, String srcWorkspace, String srcPath, Map mappings) throws Exception
addAction in interface ActionPluginExceptionpublic void addAction(String actionType, String srcWorkspace, String srcPath, boolean isDeep, String[] uuid, String[] nodeTypeNames, Map mappings) throws Exception
addAction in interface ActionPluginExceptionpublic void initiateActionObservation(javax.jcr.Node storedActionNode)
throws Exception
initiateActionObservation in interface ActionPluginExceptionpublic void reScheduleActivations(javax.jcr.Node storedActionNode)
throws Exception
reScheduleActivations in interface ActionPluginExceptionprotected javax.jcr.Session getSystemSession(String workspace) throws Exception
Exceptionpublic String getActionExecutable(String actionTypeName) throws Exception
getActionExecutable in interface ActionPluginExceptionpublic boolean isActionTypeSupported(String actionType)
isActionTypeSupported in interface ActionPluginpublic void removeObservation(String repository, String actionPath) throws Exception
removeObservation in interface ActionPluginExceptionpublic void removeActivationJob(String jobName, String jobGroup, String jobClass) throws Exception
removeActivationJob in interface ActionPluginExceptionpublic boolean isVariable(String variable) throws Exception
isVariable in interface ActionPluginExceptionpublic Collection<String> getVariableNames(String actionTypeName) throws Exception
getVariableNames in interface ActionPluginExceptionprotected void importPredefinedActionsInJcr()
throws Exception
ExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.