public class ScriptActionExecuter extends ActionExecuterAbstractBase
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
static java.lang.String |
PARAM_SCRIPTREF |
actionDefinition, applicableTypes, publicActionDISPLAY_LABEL, runtimeActionServicenamePARAM_RESULT| Constructor and Description |
|---|
ScriptActionExecuter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameterDefinitions(java.util.List 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(java.lang.String companyHomePath) |
void |
setPersonService(PersonService personService) |
void |
setScriptLocation(ScriptLocation scriptLocation)
Set the script location from Spring
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry) |
void |
setStoreUrl(java.lang.String storeUrl) |
void |
setSysAdminParams(SysAdminParams sysAdminParams) |
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatuscheckMandatoryProperties, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toStringsetBeanNamepublic static final java.lang.String NAME
public static final java.lang.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(java.lang.String storeUrl)
public void setCompanyHomePath(java.lang.String companyHomePath)
public void setScriptLocation(ScriptLocation scriptLocation)
scriptLocation - the script locationprotected boolean getAdhocPropertiesAllowed()
getAdhocPropertiesAllowed in class ParameterizedItemAbstractBaseParameterizedItemAbstractBase.getAdhocPropertiesAllowed()protected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBaseexecuteImpl in class ActionExecuterAbstractBaseaction - the actionactionedUponNodeRef - the actioned upon nodeActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)protected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBaseaddParameterDefinitions in class ParameterizedItemAbstractBaseparamList - the parameter definitions listParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.