Class RecordableVersionConfigAction

  • 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 RecordableVersionConfigAction
    extends org.alfresco.repo.action.executer.ActionExecuterAbstractBase
    Sets the recordable version config for a document within a collaboration site. Note: This is a 'normal' dm action, rather than a records management action.
    Since:
    2.3
    Author:
    Tuna Aksoy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NAME
      Action name
      static String PARAM_VERSION
      Parameter names
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addParameterDefinitions​(List<org.alfresco.service.cmr.action.ParameterDefinition> paramList)  
      protected void executeImpl​(org.alfresco.service.cmr.action.Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)  
      protected org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
      Gets the dictionary service
      protected org.alfresco.service.cmr.repository.NodeService getNodeService()
      Gets the node service
      void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)  
      void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
      Sets the node service
      • Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase

        createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, 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
      • Methods inherited from interface org.alfresco.repo.action.executer.ActionExecuter

        isExecuteAsynchronously
    • Constructor Detail

      • RecordableVersionConfigAction

        public RecordableVersionConfigAction()
    • Method Detail

      • getNodeService

        protected org.alfresco.service.cmr.repository.NodeService getNodeService()
        Gets the node service
        Returns:
        The node service
      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
        Sets the node service
        Parameters:
        nodeService - The node service
      • getDictionaryService

        protected org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
        Gets the dictionary service
        Returns:
        The dictionary service
      • setDictionaryService

        public void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
        Overrides:
        setDictionaryService in class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
        See Also:
        ActionExecuterAbstractBase.setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService)
      • executeImpl

        protected void executeImpl​(org.alfresco.service.cmr.action.Action action,
                                   org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
        Specified by:
        executeImpl in class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
        See Also:
        ActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
      • addParameterDefinitions

        protected void addParameterDefinitions​(List<org.alfresco.service.cmr.action.ParameterDefinition> paramList)
        Specified by:
        addParameterDefinitions in class org.alfresco.repo.action.ParameterizedItemAbstractBase
        See Also:
        ParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)