Class EntityVersionsAutoCompletePlugin

java.lang.Object
fr.becpg.repo.autocomplete.impl.plugins.EntityVersionsAutoCompletePlugin
All Implemented Interfaces:
AutoCompletePlugin

@Service public class EntityVersionsAutoCompletePlugin extends Object implements AutoCompletePlugin

EntityVersionsListValuePlugin class.

Version:
$Id: $Id Autocomplete plugin that allows to get current entity branch or versions Example:
 
 	 <control template="/org/alfresco/components/form/controls/autocomplete-association.ftl">
       <control-param name="ds">becpg/autocomplete/branches</control-param>
       <control-param name="urlParamsToPass">itemId</control-param>
    </control>
 
 
Datasources available: Return all survey questions by code or questionLabel, if parentAssoc is provided filter by parent question becpg/autocomplete/branches return all entity branches becpg/autocomplete/versions return all entity versions
Author:
"Matthieu Laborie"
  • Field Details

    • SOURCE_TYPE_BRANCHES

      private static final String SOURCE_TYPE_BRANCHES
      Constant SOURCE_TYPE_BRANCHES="branches"
      See Also:
    • SOURCE_TYPE_VERSIONS

      private static final String SOURCE_TYPE_VERSIONS
      Constant SOURCE_TYPE_VERSIONS="versions"
      See Also:
    • versionService

      @Autowired private org.alfresco.service.cmr.version.VersionService versionService
    • entityVersionService

      @Autowired private EntityVersionService entityVersionService
    • nodeService

      @Autowired @Qualifier("NodeService") private org.alfresco.service.cmr.repository.NodeService nodeService
    • targetAssocValueExtractor

      @Autowired private TargetAssocAutoCompleteExtractor targetAssocValueExtractor
  • Constructor Details

    • EntityVersionsAutoCompletePlugin

      public EntityVersionsAutoCompletePlugin()
  • Method Details