public class ScriptActionExecuter extends ActionExecuterAbstractBase
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
static String |
PARAM_SCRIPTREF |
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
ScriptActionExecuter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> paramList)
Adds the parameter definitions to the list
|
protected void |
executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation
|
protected boolean |
getAdhocPropertiesAllowed()
Allow adhoc properties to be passed to this action
|
void |
setCompanyHomePath(String companyHomePath) |
void |
setPersonService(PersonService personService) |
void |
setScriptLocation(ScriptLocation scriptLocation)
Set the script location from Spring
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry) |
void |
setStoreUrl(String storeUrl) |
void |
setSysAdminParams(SysAdminParams sysAdminParams) |
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
checkMandatoryProperties, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
public static final String NAME
public static final String PARAM_SCRIPTREF
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- The serviceRegistry to set.public void setSysAdminParams(SysAdminParams sysAdminParams)
sysAdminParams
- The sysAdminParams to set.public void setPersonService(PersonService personService)
personService
- The personService to set.public void setStoreUrl(String storeUrl)
public void setCompanyHomePath(String companyHomePath)
public void setScriptLocation(ScriptLocation scriptLocation)
scriptLocation
- the script locationprotected boolean getAdhocPropertiesAllowed()
getAdhocPropertiesAllowed
in class ParameterizedItemAbstractBase
ParameterizedItemAbstractBase.getAdhocPropertiesAllowed()
protected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
action
- the actionactionedUponNodeRef
- the actioned upon nodeActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
Copyright © 2005–2017 Alfresco Software. All rights reserved.