Class SearchRequest

  • All Implemented Interfaces:
    com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, ScimNode, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>

    public class SearchRequest
    extends AbstractSchemasHolder
    author Pascal Knueppel
    created at: 18.10.2019 - 18:39

    represents a search request that is used on .search requests
    See Also:
    Serialized Form
    • Method Detail

      • getStartIndex

        public Optional<Long> getStartIndex()
        An integer indicating the 1-based index of the first query result. See Section 3.4.2.4. OPTIONAL.
      • setStartIndex

        public void setStartIndex​(Long startIndex)
        An integer indicating the 1-based index of the first query result. See Section 3.4.2.4. OPTIONAL.
      • getCount

        public Optional<Integer> getCount()
        An integer indicating the desired maximum number of query results per page. See Section 3.4.2.4. OPTIONAL.
      • setCount

        public void setCount​(Integer count)
        An integer indicating the desired maximum number of query results per page. See Section 3.4.2.4. OPTIONAL.
      • getFilter

        public Optional<String> getFilter()
        The filter string used to request a subset of resources. The filter string MUST be a valid filter (Section 3.4.2.2) expression. OPTIONAL.
      • setFilter

        public void setFilter​(String filter)
        The filter string used to request a subset of resources. The filter string MUST be a valid filter (Section 3.4.2.2) expression. OPTIONAL.
      • getSortBy

        public Optional<String> getSortBy()
        A string indicating the attribute whose value SHALL be used to order the returned responses. The "sortBy" attribute MUST be in standard attribute notation (Section 3.10) form. See Section 3.4.2.3. OPTIONAL.
      • setSortBy

        public void setSortBy​(String sortBy)
        A string indicating the attribute whose value SHALL be used to order the returned responses. The "sortBy" attribute MUST be in standard attribute notation (Section 3.10) form. See Section 3.4.2.3. OPTIONAL.
      • getSortOrder

        public Optional<String> getSortOrder()
        A string indicating the order in which the "sortBy" parameter is applied. Allowed values are "ascending" and "descending". See Section 3.4.2.3. OPTIONAL.
      • setSortOrder

        public void setSortOrder​(SortOrder sortOrder)
        A string indicating the order in which the "sortBy" parameter is applied. Allowed values are "ascending" and "descending". See Section 3.4.2.3. OPTIONAL.
      • getAttributes

        public Optional<String> getAttributes()
        A multi-valued list of strings indicating the names of resource attributes to return in the response, overriding the set of attributes that would be returned by default. Attribute names MUST be in standard attribute notation (Section 3.10) form. See Section 3.9 for additional retrieval query parameters. OPTIONAL.
      • setAttributes

        public void setAttributes​(String attributes)
        A multi-valued list of strings indicating the names of resource attributes to return in the response, overriding the set of attributes that would be returned by default. Attribute names MUST be in standard attribute notation (Section 3.10) form. See Section 3.9 for additional retrieval query parameters. OPTIONAL.
      • getExcludedAttributes

        public Optional<String> getExcludedAttributes()
        A multi-valued list of strings indicating the names of resource attributes to be removed from the default set of attributes to return. This parameter SHALL have no effect on attributes whose schema "returned" setting is "always" (see Sections 2.2 and 7 of [RFC7643]). Attribute names MUST be in standard attribute notation (Section 3.10) form. See Section 3.9 for additional retrieval query parameters. OPTIONAL.
      • setExcludedAttributes

        public void setExcludedAttributes​(String excludedAttributes)
        A multi-valued list of strings indicating the names of resource attributes to be removed from the default set of attributes to return. This parameter SHALL have no effect on attributes whose schema "returned" setting is "always" (see Sections 2.2 and 7 of [RFC7643]). Attribute names MUST be in standard attribute notation (Section 3.10) form. See Section 3.9 for additional retrieval query parameters. OPTIONAL.