Class ListResponse<T extends ScimObjectNode>

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
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 ListResponse<T extends ScimObjectNode> extends ScimResponse
author Pascal Knueppel
created at: 17.10.2019 - 22:04

represents a list response
See Also:
  • Constructor Details

    • ListResponse

      public ListResponse()
    • ListResponse

      public ListResponse(Class<T> type)
    • ListResponse

      public ListResponse(String resourceJsonRepresentation)
    • ListResponse

      public ListResponse(List<com.fasterxml.jackson.databind.JsonNode> listedResources, Long totalResults, Integer itemsPerPage, Long startIndex)
  • Method Details

    • getTotalResults

      public long getTotalResults()
      Non-negative integer. Specifies the total number of results matching the client query, e.g., 1000
    • setTotalResults

      public void setTotalResults(Long totalResults)
      Non-negative integer. Specifies the total number of results matching the client query, e.g., 1000
    • getItemsPerPage

      public int getItemsPerPage()
      Non-negative integer. Specifies the total number of results matching the client query, e.g., 1000
    • setItemsPerPage

      public void setItemsPerPage(Integer itemsPerPage)
      Non-negative integer. Specifies the number of query results returned in a query response page, e.g., 10.
    • getStartIndex

      public long getStartIndex()
      The 1-based index of the first result in the current set of query results, e.g., 1.
    • setStartIndex

      public void setStartIndex(Long startIndex)
      The 1-based index of the first result in the current set of query results, e.g., 1.
    • getListedResources

      public List<T> getListedResources()
      the resources that have been extracted
    • setListedResources

      public void setListedResources(List<com.fasterxml.jackson.databind.JsonNode> listedResources)
      the resources that have been extracted
    • getHttpStatus

      public int getHttpStatus()
      the http status code of the response
      Specified by:
      getHttpStatus in class ScimResponse