Class ExporterActionExecuter
- java.lang.Object
-
- org.alfresco.repo.action.CommonResourceAbstractBase
-
- org.alfresco.repo.action.ParameterizedItemAbstractBase
-
- org.alfresco.repo.action.executer.ActionExecuterAbstractBase
-
- org.alfresco.repo.action.executer.ExporterActionExecuter
-
- All Implemented Interfaces:
ActionExecuter,LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class ExporterActionExecuter extends ActionExecuterAbstractBase
Exporter action executor- Author:
- gavinc
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEstatic StringPARAM_DESTINATION_FOLDERstatic StringPARAM_ENCODINGstatic StringPARAM_INCLUDE_CHILDRENstatic StringPARAM_INCLUDE_SELFstatic StringPARAM_PACKAGE_NAMEstatic StringPARAM_STORE-
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionDefinition, applicableTypes, publicAction
-
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
-
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
name
-
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT
-
-
Constructor Summary
Constructors Constructor Description ExporterActionExecuter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddParameterDefinitions(List<ParameterDefinition> paramList)Adds the parameter definitions to the listvoidexecuteImpl(Action ruleAction, NodeRef actionedUponNodeRef)Execute the action implementationvoidsetContentService(ContentService contentService)Sets the ContentService to usevoidsetExporterService(ExporterService exporterService)Sets the ExporterService to usevoidsetMimetypeService(MimetypeService mimetypeService)Sets the MimetypeService to usevoidsetNodeService(NodeService nodeService)Sets the NodeService to use-
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
-
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
-
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PARAM_STORE
public static final String PARAM_STORE
- See Also:
- Constant Field Values
-
PARAM_PACKAGE_NAME
public static final String PARAM_PACKAGE_NAME
- See Also:
- Constant Field Values
-
PARAM_DESTINATION_FOLDER
public static final String PARAM_DESTINATION_FOLDER
- See Also:
- Constant Field Values
-
PARAM_INCLUDE_CHILDREN
public static final String PARAM_INCLUDE_CHILDREN
- See Also:
- Constant Field Values
-
PARAM_INCLUDE_SELF
public static final String PARAM_INCLUDE_SELF
- See Also:
- Constant Field Values
-
PARAM_ENCODING
public static final String PARAM_ENCODING
- See Also:
- Constant Field Values
-
-
Method Detail
-
setExporterService
public void setExporterService(ExporterService exporterService)
Sets the ExporterService to use- Parameters:
exporterService- The ExporterService
-
setMimetypeService
public void setMimetypeService(MimetypeService mimetypeService)
Sets the MimetypeService to use- Parameters:
mimetypeService- MimetypeService
-
setNodeService
public void setNodeService(NodeService nodeService)
Sets the NodeService to use- Parameters:
nodeService- The NodeService
-
setContentService
public void setContentService(ContentService contentService)
Sets the ContentService to use- Parameters:
contentService- The ContentService
-
executeImpl
public void executeImpl(Action ruleAction, NodeRef actionedUponNodeRef)
Description copied from class:ActionExecuterAbstractBaseExecute the action implementation- Specified by:
executeImplin classActionExecuterAbstractBase- Parameters:
ruleAction- the actionactionedUponNodeRef- the actioned upon node- See Also:
ActionExecuter.execute(Action, NodeRef)
-
addParameterDefinitions
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
Description copied from class:ParameterizedItemAbstractBaseAdds the parameter definitions to the list- Specified by:
addParameterDefinitionsin classParameterizedItemAbstractBase- Parameters:
paramList- the parameter definitions list- See Also:
ParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
-
-