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>
-
- com.fasterxml.jackson.databind.node.ObjectNode
-
- de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
-
- de.captaingoldfish.scim.sdk.common.resources.AbstractSchemasHolder
-
- de.captaingoldfish.scim.sdk.common.response.ScimResponse
-
- de.captaingoldfish.scim.sdk.common.response.ListResponse<T>
-
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListResponse()
ListResponse(Class<T> type)
ListResponse(String resourceJsonRepresentation)
ListResponse(List<com.fasterxml.jackson.databind.JsonNode> listedResources, Long totalResults, Integer itemsPerPage, Long startIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHttpStatus()
the http status code of the responseint
getItemsPerPage()
Non-negative integer.List<T>
getListedResources()
the resources that have been extractedlong
getStartIndex()
The 1-based index of the first result in the current set of query results, e.g., 1.long
getTotalResults()
Non-negative integer.void
setItemsPerPage(Integer itemsPerPage)
Non-negative integer.void
setListedResources(List<com.fasterxml.jackson.databind.JsonNode> listedResources)
the resources that have been extractedvoid
setStartIndex(Long startIndex)
The 1-based index of the first result in the current set of query results, e.g., 1.void
setTotalResults(Long totalResults)
Non-negative integer.-
Methods inherited from class de.captaingoldfish.scim.sdk.common.response.ScimResponse
buildResponse, setETag
-
Methods inherited from class de.captaingoldfish.scim.sdk.common.resources.AbstractSchemasHolder
addSchema, getSchemas, removeSchema, setSchemas, setSchemas
-
Methods inherited from class de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
addAttribute, getArrayAttribute, getBooleanAttribute, getDateTimeAttribute, getDoubleAttribute, getIntegerAttribute, getLongAttribute, getObjectAttribute, getSimpleArrayAttribute, getSimpleArrayAttribute, getSimpleArrayAttributeSet, getSimpleArrayAttributeSet, getStringAttribute, getStringAttribute, isEmpty, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeList, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setStringAttributeList, setStringAttributeList, toPrettyString, toString
-
Methods inherited from class com.fasterxml.jackson.databind.node.ObjectNode
_at, _childrenEqual, _put, asToken, deepCopy, elements, equals, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, isEmpty, isObject, path, path, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, putArray, putNull, putObject, putPOJO, putRawValue, remove, remove, removeAll, replace, required, retain, retain, serialize, serializeWithType, set, setAll, setAll, size, with, withArray, without, without
-
Methods inherited from class com.fasterxml.jackson.databind.node.ContainerNode
arrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNode
-
Methods inherited from class com.fasterxml.jackson.databind.node.BaseJsonNode
findPath, numberType, required, traverse, traverse
-
Methods inherited from class com.fasterxml.jackson.databind.JsonNode
_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asText, at, at, bigIntegerValue, binaryValue, booleanValue, canConvertToInt, canConvertToLong, decimalValue, doubleValue, findParents, findValues, findValuesAsText, floatValue, has, has, hasNonNull, hasNonNull, intValue, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, require, requiredAt, requiredAt, requireNonNull, shortValue, textValue
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface de.captaingoldfish.scim.sdk.common.resources.base.ScimNode
getAttributeDescription, getAttributeName, getCanonicalValues, getMutability, getReferenceTypes, getReturned, getSchemaAttribute, getScimNodeName, getUniqueness, getValueType, isCaseExact, isMultiValued, isRequired
-
-
-
-
Constructor Detail
-
ListResponse
public ListResponse()
-
ListResponse
public ListResponse(String resourceJsonRepresentation)
-
-
Method Detail
-
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.
-
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 classScimResponse
-
-