public class DefaultSchemasCallback extends Object implements SchemasCallback
ATTRIBUTE_VALUE_FILTER_CLOSING, ATTRIBUTE_VALUE_FILTER_OPENING, COMPLEX_ATTRIBUTE_DELIMETER, COMPLEX_ATTRIBUTE_DELIMETER_REGEX, SCHEMA_PATTERN, SCHEMA_URN_DELIMETER| Constructor and Description |
|---|
DefaultSchemasCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
createCustomSchema(Schema schema)
Creates a schema with the provided attributes.
|
void |
deleteCustomSchema(String schemaId)
Deletes the schema with the specified schemaId.
|
Attribute |
getAttribute(String path)
Returns SCIM attribute definition
|
Schema |
getCustomSchema(String schemaId)
Returns the schema with the specified schemaId.
|
List<Schema> |
getCustomSchemas()
Returns list of all custom created schemas (with urn starting with urn:sap:cloud:scim:schemas:extension:custom:2.0:) available
in the system
|
boolean |
isValidSchemaName(String schemaName)
Determines whether the provided schema name is a valid database identifier.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSchemaToPathIfNotExist, appendSubAttributeToPath, getComplexAttributePath, getSchema, getSchemaIdFromAttributeNotation, getSchemas, isAttributeNotationContainsSchema, isAttributeNotationContainsValueFilter, isCoreSchema, isCustomSchema, removeSchemaFromAttributeNotation, removeValueFilterFromAttributeNotationpublic Schema getCustomSchema(String schemaId)
SchemasCallbackgetCustomSchema in interface SchemasCallbackpublic void createCustomSchema(Schema schema)
SchemasCallbackcreateCustomSchema in interface SchemasCallbackpublic List<Schema> getCustomSchemas()
SchemasCallbackgetCustomSchemas in interface SchemasCallbackpublic void deleteCustomSchema(String schemaId)
SchemasCallbackdeleteCustomSchema in interface SchemasCallbackpublic boolean isValidSchemaName(String schemaName)
SchemasCallbackisValidSchemaName in interface SchemasCallbackpublic Attribute getAttribute(String path)
SchemasCallbackgetAttribute in interface SchemasCallbackpath - represents full attribute notation starting with schema name (eg. urn:ietf:params:scim:schemas:core:2.0:Schema:description)Attribute if exists with specified schema or nullCopyright © 2022 SAP SE. All rights reserved.