public class ContentMetadataEmbedder extends ActionExecuterAbstractBase
The metadata is embedded in the content from the current property values.
Modifier and Type | Field and Description |
---|---|
static String |
EXECUTOR_NAME |
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
ContentMetadataEmbedder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> arg0)
Adds the parameter definitions to the list
|
void |
executeImpl(Action ruleAction,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation
|
void |
setContentService(ContentService contentService) |
void |
setMetadataExtracterRegistry(MetadataExtracterRegistry metadataExtracterRegistry) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
public static final String EXECUTOR_NAME
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the node servicepublic void setContentService(ContentService contentService)
contentService
- The contentService to set.public void setMetadataExtracterRegistry(MetadataExtracterRegistry metadataExtracterRegistry)
metadataExtracterRegistry
- The metadataExtracterRegistry to set.public void executeImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
ruleAction
- the actionactionedUponNodeRef
- the actioned upon nodeActionExecuter.execute(Action, NodeRef)
protected void addParameterDefinitions(List<ParameterDefinition> arg0)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
arg0
- the parameter definitions listCopyright © 2005–2017 Alfresco Software. All rights reserved.