Class FolderContentsParameterConstraint

  • All Implemented Interfaces:
    ParameterConstraint, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class FolderContentsParameterConstraint
    extends BaseParameterConstraint
    Folder contents parameter constraint
    Author:
    Roy Wetherall
    • Constructor Detail

      • FolderContentsParameterConstraint

        public FolderContentsParameterConstraint()
    • Method Detail

      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
      • setSearchService

        public void setSearchService​(org.alfresco.service.cmr.search.SearchService searchService)
      • setSearchPath

        public void setSearchPath​(java.lang.String searchPath)
      • setDictionaryService

        public void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
      • setNamespaceService

        public void setNamespaceService​(org.alfresco.service.namespace.NamespaceService namespaceService)
      • setRepository

        public void setRepository​(Repository repository)
      • setNodeInclusionFilter

        public void setNodeInclusionFilter​(java.util.List<java.lang.String> nodeInclusionFilter)
        This optional property defines a list of file extensions which should be included in the result set from this class. By implication, all other file extensions will be excluded. (The dot should not be specified i.e. "txt" not ".txt"). If present, the cm:name of each candidate node will be checked against the values in this list and only those nodes whose cm:name ends with one of these file extensions will be included.

        If the property is not set then no inclusion filter is specified and all file extensions will be included.

        Parameters:
        nodeInclusionFilter - A list of file extensions
        Since:
        3.5