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 java.lang.StringNAMEstatic java.lang.StringPARAM_DESTINATION_FOLDERstatic java.lang.StringPARAM_ENCODINGstatic java.lang.StringPARAM_INCLUDE_CHILDRENstatic java.lang.StringPARAM_INCLUDE_SELFstatic java.lang.StringPARAM_PACKAGE_NAMEstatic java.lang.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(java.util.List<ParameterDefinition> paramList)Adds the parameter definitions to the listvoidexecuteImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)Execute the action implementationvoidsetContentService(ContentService contentService)Sets the ContentService to usevoidsetExporterService(ExporterService exporterService)Sets the ExporterService to usevoidsetMimetypeService(org.alfresco.service.cmr.repository.MimetypeService mimetypeService)Sets the MimetypeService to usevoidsetNodeService(org.alfresco.service.cmr.repository.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 java.lang.String NAME
- See Also:
- Constant Field Values
-
PARAM_STORE
public static final java.lang.String PARAM_STORE
- See Also:
- Constant Field Values
-
PARAM_PACKAGE_NAME
public static final java.lang.String PARAM_PACKAGE_NAME
- See Also:
- Constant Field Values
-
PARAM_DESTINATION_FOLDER
public static final java.lang.String PARAM_DESTINATION_FOLDER
- See Also:
- Constant Field Values
-
PARAM_INCLUDE_CHILDREN
public static final java.lang.String PARAM_INCLUDE_CHILDREN
- See Also:
- Constant Field Values
-
PARAM_INCLUDE_SELF
public static final java.lang.String PARAM_INCLUDE_SELF
- See Also:
- Constant Field Values
-
PARAM_ENCODING
public static final java.lang.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(org.alfresco.service.cmr.repository.MimetypeService mimetypeService)
Sets the MimetypeService to use- Parameters:
mimetypeService- MimetypeService
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.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, org.alfresco.service.cmr.repository.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(java.util.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)
-
-