Class ResourceTypeFeatures
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.server.schemas.custom.ResourceTypeFeatures
- 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>
author Pascal Knueppel
created at: 03.11.2019 - 12:34
created at: 03.11.2019 - 12:34
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.JsonNode.OverwriteModeNested classes/interfaces inherited from interface com.fasterxml.jackson.databind.JsonSerializable
com.fasterxml.jackson.databind.JsonSerializable.Base -
Field Summary
Fields inherited from class com.fasterxml.jackson.databind.node.ObjectNode
_childrenFields inherited from class com.fasterxml.jackson.databind.node.ContainerNode
_nodeFactory -
Constructor Summary
ConstructorsConstructorDescriptionResourceTypeFeatures(boolean autoFiltering, boolean autoSorting, boolean singletonEndpoint, EndpointControlFeature endpointControlFeature, ResourceTypeAuthorization authorization, ETagFeature eTagFeature, boolean returnResourcesOnBulk) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()a complex attribute that tells us the which roles the client must have to access the given endpoina complex type configuration for eTags that describes how the automatic API handling should use ETagsbooleanenables application side filtering.booleanenables application side sorting.booleanThis attribute allows the service provider to not return a resource on bulk-responses even if the client explicitly asked for it.booleanif the current resource type is disabledbooleanif true it is not possible to access the list-resources endpoint anymore because all get-requests will be delegated to the get-resource endpointvoidsetAuthorization(ResourceTypeAuthorization resourceTypeAuthorization) a complex attribute that tells us the which roles the client must have to access the given endpoinvoidsetAutoFiltering(Boolean autoFiltering) enables application side filtering.voidsetAutoSorting(Boolean autoSorting) enables application side sorting.voidsetDenyReturnResourcesOnBulk(boolean returnResourcesOnBulk) This attribute allows the service provider to not return a resource on bulk-responses even if the client explicitly asked for it.voidsetEndpointControlFeature(EndpointControlFeature endpointControlFeature) replaces the whole endpoint control feature nodevoidsetETagFeature(ETagFeature eTagFeature) a complex type configuration for eTags that describes how the automatic API handling should use ETagsvoidsetResourceTypeDisabled(Boolean disabled) disables or enables the current resource typevoidsetSingletonEndpoint(Boolean singletonEndpoint) if true it is not possible to access the list-resources endpoint anymore because all get-requests will be delegated to the get-resource endpointMethods inherited from class de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
addAttribute, getArrayAttribute, getBinaryAttribute, getBooleanAttribute, getDateTimeAttribute, getDoubleAttribute, getIntegerAttribute, getLongAttribute, getObjectAttribute, getSchemaAttribute, getSimpleArrayAttribute, getSimpleArrayAttribute, getSimpleArrayAttributeSet, getSimpleArrayAttributeSet, getStringAttribute, getStringAttribute, isEmpty, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeList, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setStringAttributeList, setStringAttributeList, toPrettyString, toStringMethods inherited from class com.fasterxml.jackson.databind.node.ObjectNode
_at, _childrenEqual, _contentsToSerialize, _put, _withArray, _withArrayAddTailProperty, _withObject, _withObjectAddTailProperty, asToken, deepCopy, elements, equals, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, isEmpty, isObject, path, path, properties, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, putArray, putIfAbsent, putNull, putObject, putPOJO, putRawValue, remove, remove, removeAll, replace, required, retain, retain, serialize, serializeFilteredContents, serializeWithType, set, setAll, setAll, size, with, withArray, withArrayProperty, withObject, withObjectProperty, without, withoutMethods 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, textNodeMethods inherited from class com.fasterxml.jackson.databind.node.BaseJsonNode
_bigIntFromBigDec, _jsonPointerIfValid, _reportWrongNodeOperation, _reportWrongNodeType, _withXxxMayReplace, _withXxxVerifyReplace, findPath, numberType, required, traverse, traverse, withArray, withObjectMethods inherited from class com.fasterxml.jackson.databind.JsonNode
_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asText, at, at, bigIntegerValue, binaryValue, booleanValue, canConvertToExactIntegral, 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, withArray, withArray, withObject, withObjectMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface de.captaingoldfish.scim.sdk.common.resources.base.ScimNode
getAttributeDescription, getAttributeName, getCanonicalValues, getMutability, getReferenceTypes, getReturned, getScimNodeName, getUniqueness, getValueType, isCaseExact, isMultiValued, isRequired
-
Constructor Details
-
ResourceTypeFeatures
public ResourceTypeFeatures(boolean autoFiltering, boolean autoSorting, boolean singletonEndpoint, EndpointControlFeature endpointControlFeature, ResourceTypeAuthorization authorization, ETagFeature eTagFeature, boolean returnResourcesOnBulk) -
ResourceTypeFeatures
public ResourceTypeFeatures()
-
-
Method Details
-
getETagFeature
a complex type configuration for eTags that describes how the automatic API handling should use ETags -
setETagFeature
a complex type configuration for eTags that describes how the automatic API handling should use ETags -
isSingletonEndpoint
public boolean isSingletonEndpoint()if true it is not possible to access the list-resources endpoint anymore because all get-requests will be delegated to the get-resource endpoint -
setSingletonEndpoint
if true it is not possible to access the list-resources endpoint anymore because all get-requests will be delegated to the get-resource endpoint -
isAutoFiltering
public boolean isAutoFiltering()enables application side filtering. The developer will no longer be able to do the filtering manually if this has been enabled because the developer will be cut off of the filtering information -
setAutoFiltering
enables application side filtering. The developer will no longer be able to do the filtering manually if this has been enabled because the developer will be cut off of the filtering information -
isAutoSorting
public boolean isAutoSorting()enables application side sorting. The developer will no longer be able to do the sorting manually if this has been enabled because the developer will be cut off of the sorting information -
setAutoSorting
enables application side sorting. The developer will no longer be able to do the sorting manually if this has been enabled because the developer will be cut off of the sorting information -
isResourceTypeDisabled
public boolean isResourceTypeDisabled()if the current resource type is disabled -
setResourceTypeDisabled
disables or enables the current resource type -
getEndpointControlFeature
- Returns:
- the current values of the endpoint control feature
-
setEndpointControlFeature
replaces the whole endpoint control feature node -
getAuthorization
a complex attribute that tells us the which roles the client must have to access the given endpoin -
setAuthorization
a complex attribute that tells us the which roles the client must have to access the given endpoin -
isDenyReturnResourcesOnBulk
public boolean isDenyReturnResourcesOnBulk()This attribute allows the service provider to not return a resource on bulk-responses even if the client explicitly asked for it. Default is false so that resources will be returned if the client asks for them -
setDenyReturnResourcesOnBulk
public void setDenyReturnResourcesOnBulk(boolean returnResourcesOnBulk) This attribute allows the service provider to not return a resource on bulk-responses even if the client explicitly asked for it. Default is false so that resources will be returned if the client asks for them -
builder
-