Class RepositoryRequest

  • public class RepositoryRequest
    extends Object
    • Constructor Detail

      • RepositoryRequest

        public RepositoryRequest()
        This class encapsulates the parameters received by the "children" and "tree" REST calls. It provides default values for parameters not specified and breaks down the legacy "filter" parameters into it's component parts.
    • Method Detail

      • setTypes

        public void setTypes​(RepositoryRequest.FILES_TYPE_FILTER types)
        Sets whether files, folders, or both are returned: ( FILES | FOLDERS | [default] FILES_FOLDERS )
      • getIncludeMemberSet

        public Set<String> getIncludeMemberSet()
      • setIncludeMemberSet

        public void setIncludeMemberSet​(Set<String> includeMemberSet)
        includeMemberSet - A set of field names to be included in the output.
      • getExcludeMemberSet

        public Set<String> getExcludeMemberSet()
      • setExcludeMemberSet

        public void setExcludeMemberSet​(Set<String> excludeMemberSet)
        includeMemberSet - A set of field names to be excluded in the output.
      • isShowHidden

        public boolean isShowHidden()
      • isIncludeSystemFolders

        public boolean isIncludeSystemFolders()
      • setIncludeSystemFolders

        public void setIncludeSystemFolders​(boolean includeSystemFolders)
      • setShowHidden

        public void setShowHidden​(boolean showHidden)
        showHidden - Whether to return information about hidden files. Default is false.
      • getDepth

        public Integer getDepth()
      • setDepth

        public void setDepth​(Integer depth)
        depth - 0 fetches just file at path; positive integer n fetches node at path plus n levels of children; negative integer fetches all children. If n > 0 and setTypes(FILES_TYPE_FILTER) is set to FILES then only the top level children will be processed.
      • getChildNodeFilter

        public String getChildNodeFilter()
      • setChildNodeFilter

        public void setChildNodeFilter​(String childNodeFilter)
        childNodefilter - filter may be a full name or a partial name with one or more wildcard characters ("*"), or a disjunction (using the "|" character to represent logical OR) of these; filter does not apply to root node.
      • getPath

        public String getPath()
      • setPath

        public void setPath​(String path)
        path - Path to file
      • isIncludeAcls

        public boolean isIncludeAcls()
      • setIncludeAcls

        public void setIncludeAcls​(boolean includeAcls)
        includeAcls - Set to true to return ACL permission information with the output. Default is false.