org.exoplatform.services.plugin.actions.impl
Class BPActionPlugin
java.lang.Object
org.exoplatform.services.cms.actions.impl.BaseActionPlugin
org.exoplatform.services.plugin.actions.impl.BPActionPlugin
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin, ActionPlugin
public class BPActionPlugin
- extends BaseActionPlugin
- implements org.exoplatform.container.component.ComponentPlugin
|
Constructor Summary |
BPActionPlugin(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.container.xml.InitParams params,
WorkflowServiceContainer workflowServiceContainer)
|
|
Method Summary |
void |
activateAction(java.lang.String userId,
java.lang.String executable,
java.util.Map variables)
|
void |
activateAction(java.lang.String userId,
java.lang.String executable,
java.util.Map variables,
java.lang.String repository)
|
protected java.lang.Class |
createActivationJob()
|
protected ECMEventListener |
createEventListener(java.lang.String actionName,
java.lang.String moveExecutable,
java.lang.String repository,
java.lang.String srcWorkspace,
java.lang.String srcPath,
java.util.Map variables,
java.lang.String actionType)
|
void |
executeAction(java.lang.String userId,
javax.jcr.Node actionNode,
java.util.Map variables,
java.lang.String repository)
|
void |
executeAction(java.lang.String userId,
java.lang.String executable,
java.util.Map variables)
|
void |
executeAction(java.lang.String userId,
java.lang.String executable,
java.util.Map variables,
java.lang.String repository)
Deprecated. |
java.lang.String |
getActionExecutableLabel()
|
java.util.Collection<java.lang.String> |
getActionExecutables(java.lang.String repository)
|
protected java.util.List |
getActions()
|
protected java.lang.String |
getActionType()
|
java.lang.String |
getDescription()
|
java.lang.String |
getExecutableDefinitionName()
|
java.lang.String |
getName()
|
protected java.util.List<org.exoplatform.services.jcr.config.RepositoryEntry> |
getRepositories()
|
protected org.exoplatform.services.jcr.core.ManageableRepository |
getRepository()
|
protected java.lang.String |
getWorkspaceName()
|
void |
setDescription(java.lang.String desc)
|
void |
setName(java.lang.String s)
|
| Methods inherited from class org.exoplatform.services.cms.actions.impl.BaseActionPlugin |
addAction, addAction, addAction, addAction, getActionExecutable, getSystemSession, getVariableNames, importPredefinedActionsInJcr, initiateActionObservation, initiateActionObservation, isActionTypeSupported, isVariable, reImportPredefinedActionsInJcr, removeActivationJob, removeObservation, reScheduleActivations, reScheduleActivations |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_TYPE
public static final java.lang.String ACTION_TYPE
- See Also:
- Constant Field Values
BPActionPlugin
public BPActionPlugin(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.container.xml.InitParams params,
WorkflowServiceContainer workflowServiceContainer)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActionExecutables
public java.util.Collection<java.lang.String> getActionExecutables(java.lang.String repository)
throws java.lang.Exception
- Specified by:
getActionExecutables in interface ActionPlugin
- Throws:
java.lang.Exception
createEventListener
protected ECMEventListener createEventListener(java.lang.String actionName,
java.lang.String moveExecutable,
java.lang.String repository,
java.lang.String srcWorkspace,
java.lang.String srcPath,
java.util.Map variables,
java.lang.String actionType)
throws java.lang.Exception
- Specified by:
createEventListener in class BaseActionPlugin
- Throws:
java.lang.Exception
getActionExecutableLabel
public java.lang.String getActionExecutableLabel()
- Specified by:
getActionExecutableLabel in interface ActionPlugin
getExecutableDefinitionName
public java.lang.String getExecutableDefinitionName()
- Specified by:
getExecutableDefinitionName in interface ActionPlugin
getWorkspaceName
protected java.lang.String getWorkspaceName()
- Specified by:
getWorkspaceName in class BaseActionPlugin
getRepositories
protected java.util.List<org.exoplatform.services.jcr.config.RepositoryEntry> getRepositories()
- Specified by:
getRepositories in class BaseActionPlugin
getRepository
protected org.exoplatform.services.jcr.core.ManageableRepository getRepository()
throws java.lang.Exception
- Specified by:
getRepository in class BaseActionPlugin
- Throws:
java.lang.Exception
getActionType
protected java.lang.String getActionType()
- Specified by:
getActionType in class BaseActionPlugin
getActions
protected java.util.List getActions()
- Specified by:
getActions in class BaseActionPlugin
getName
public java.lang.String getName()
- Specified by:
getName in interface org.exoplatform.container.component.ComponentPlugin
setName
public void setName(java.lang.String s)
- Specified by:
setName in interface org.exoplatform.container.component.ComponentPlugin
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface org.exoplatform.container.component.ComponentPlugin
setDescription
public void setDescription(java.lang.String desc)
- Specified by:
setDescription in interface org.exoplatform.container.component.ComponentPlugin
executeAction
public void executeAction(java.lang.String userId,
javax.jcr.Node actionNode,
java.util.Map variables,
java.lang.String repository)
throws java.lang.Exception
- Specified by:
executeAction in interface ActionPlugin
- Throws:
java.lang.Exception
executeAction
@Deprecated
public void executeAction(java.lang.String userId,
java.lang.String executable,
java.util.Map variables,
java.lang.String repository)
- Deprecated.
- Specified by:
executeAction in interface ActionPlugin
executeAction
public void executeAction(java.lang.String userId,
java.lang.String executable,
java.util.Map variables)
activateAction
public void activateAction(java.lang.String userId,
java.lang.String executable,
java.util.Map variables,
java.lang.String repository)
throws java.lang.Exception
- Specified by:
activateAction in interface ActionPlugin
- Throws:
java.lang.Exception
createActivationJob
protected java.lang.Class createActivationJob()
throws java.lang.Exception
- Specified by:
createActivationJob in class BaseActionPlugin
- Throws:
java.lang.Exception
activateAction
public void activateAction(java.lang.String userId,
java.lang.String executable,
java.util.Map variables)
throws java.lang.Exception
- Specified by:
activateAction in interface ActionPlugin
- Throws:
java.lang.Exception
Copyright © 2013 eXo Platform SAS. All Rights Reserved.