Class FolderContentsParameterConstraint

java.lang.Object
org.alfresco.repo.action.constraint.BaseParameterConstraint
org.alfresco.repo.action.constraint.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 Details

    • FolderContentsParameterConstraint

      public FolderContentsParameterConstraint()
  • Method Details

    • setNodeService

      public void setNodeService(NodeService nodeService)
    • setSearchService

      public void setSearchService(SearchService searchService)
    • setSearchPath

      public void setSearchPath(String searchPath)
    • setDictionaryService

      public void setDictionaryService(DictionaryService dictionaryService)
    • setNamespaceService

      public void setNamespaceService(NamespaceService namespaceService)
    • setRepository

      public void setRepository(Repository repository)
    • setNodeInclusionFilter

      public void setNodeInclusionFilter(List<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
    • getAllowableValuesImpl

      protected Map<String,String> getAllowableValuesImpl()
      Description copied from class: BaseParameterConstraint
      Gets the list of allowable values, calculating them every time it is called.
      Specified by:
      getAllowableValuesImpl in class BaseParameterConstraint
      Returns:
      map of allowable values
      See Also: