Package fr.becpg.repo.hierarchy.action
Class ClassifyByHierarchyActionExecuter
java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
fr.becpg.repo.hierarchy.action.ClassifyByHierarchyActionExecuter
- All Implemented Interfaces:
org.alfresco.repo.action.executer.ActionExecuter,org.alfresco.repo.action.executer.LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class ClassifyByHierarchyActionExecuter
extends org.alfresco.repo.action.executer.ActionExecuterAbstractBase
Action used to classify an entity according to its hierarchy.
- Version:
- $Id: $Id
- Author:
- querephi
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate HierarchyServiceprivate static final org.apache.commons.logging.Logstatic final StringThe Constant NAME.private org.alfresco.service.namespace.NamespaceServicestatic final StringConstantPARAM_DESTINATION_FOLDER="destination-folder"static final StringConstantPARAM_PROP_HIERARCHY="prop-hierarchy"static final StringConstantPARAM_PROP_LOCALE="prop-locale"Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionAccessRestrictions, actionDefinition, applicableTypes, publicActionFields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionServiceFields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
nameFields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddParameterDefinitions(List<org.alfresco.service.cmr.action.ParameterDefinition> paramList) protected voidexecuteImpl(org.alfresco.service.cmr.action.Action action, org.alfresco.service.cmr.repository.NodeRef nodeRef) voidsetHierarchyService(HierarchyService hierarchyService) Setter for the fieldhierarchyService.voidsetNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) Setter for the fieldnamespaceService.Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionAccessRestrictions, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setActionAccessRestrictions, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus, verifyActionAccessRestrictionsMethods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toStringMethods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.repo.action.executer.ActionExecuter
isExecuteAsynchronously
-
Field Details
-
NAME
The Constant NAME.- See Also:
-
PARAM_DESTINATION_FOLDER
ConstantPARAM_DESTINATION_FOLDER="destination-folder"- See Also:
-
PARAM_PROP_HIERARCHY
ConstantPARAM_PROP_HIERARCHY="prop-hierarchy"- See Also:
-
PARAM_PROP_LOCALE
ConstantPARAM_PROP_LOCALE="prop-locale"- See Also:
-
logger
private static final org.apache.commons.logging.Log logger -
hierarchyService
-
namespaceService
private org.alfresco.service.namespace.NamespaceService namespaceService
-
-
Constructor Details
-
ClassifyByHierarchyActionExecuter
public ClassifyByHierarchyActionExecuter()
-
-
Method Details
-
setHierarchyService
Setter for the field
hierarchyService.- Parameters:
hierarchyService- aHierarchyServiceobject.
-
setNamespaceService
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) Setter for the field
namespaceService.- Parameters:
namespaceService- aNamespaceServiceobject.
-
executeImpl
protected void executeImpl(org.alfresco.service.cmr.action.Action action, org.alfresco.service.cmr.repository.NodeRef nodeRef) - Specified by:
executeImplin classorg.alfresco.repo.action.executer.ActionExecuterAbstractBase
-
addParameterDefinitions
protected void addParameterDefinitions(List<org.alfresco.service.cmr.action.ParameterDefinition> paramList) - Specified by:
addParameterDefinitionsin classorg.alfresco.repo.action.ParameterizedItemAbstractBase
-