public interface SchemasCallback
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_VALUE_FILTER_CLOSING |
static String |
ATTRIBUTE_VALUE_FILTER_OPENING |
static String |
COMPLEX_ATTRIBUTE_DELIMETER |
static String |
COMPLEX_ATTRIBUTE_DELIMETER_REGEX |
static Pattern |
SCHEMA_PATTERN |
static String |
SCHEMA_URN_DELIMETER |
| Modifier and Type | Method and Description |
|---|---|
static String |
addSchemaToPathIfNotExist(String path,
String defaultSchema) |
default String |
appendSubAttributeToPath(String fullAttributePath,
String subAttribute) |
void |
createCustomSchema(Schema schema)
Creates a schema with the provided attributes.
|
void |
deleteCustomSchema(String schemaId)
Deletes the schema with the specified schemaId.
|
default Attribute |
getAttribute(String path)
Returns SCIM attribute definition
|
default List<Attribute> |
getComplexAttributePath(String fullAttrNotation) |
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
|
default Schema |
getSchema(String schemaId) |
default String |
getSchemaIdFromAttributeNotation(String attrNotation) |
default List<Schema> |
getSchemas()
Returns a list of all schemas available in the system.
|
static boolean |
isAttributeNotationContainsSchema(String fullAttrNotation) |
default boolean |
isAttributeNotationContainsValueFilter(String fullAttributeNotation) |
static boolean |
isCoreSchema(String schemaId) |
static boolean |
isCustomSchema(String schemaId) |
boolean |
isValidSchemaName(String schemaName)
Determines whether the provided schema name is a valid database identifier.
|
default String |
removeSchemaFromAttributeNotation(String attrNotation,
String schemaId) |
default String |
removeValueFilterFromAttributeNotation(String fullAttributeNotation) |
static final Pattern SCHEMA_PATTERN
static final String COMPLEX_ATTRIBUTE_DELIMETER
static final String COMPLEX_ATTRIBUTE_DELIMETER_REGEX
static final String SCHEMA_URN_DELIMETER
static final String ATTRIBUTE_VALUE_FILTER_OPENING
static final String ATTRIBUTE_VALUE_FILTER_CLOSING
Schema getCustomSchema(String schemaId)
schemaId - void createCustomSchema(Schema schema)
schema - List<Schema> getCustomSchemas()
default List<Schema> getSchemas()
void deleteCustomSchema(String schemaId)
schemaId - boolean isValidSchemaName(String schemaName)
schemaName - default Attribute getAttribute(String path)
path - 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 nulldefault String getSchemaIdFromAttributeNotation(String attrNotation)
default String removeSchemaFromAttributeNotation(String attrNotation, String schemaId)
static String addSchemaToPathIfNotExist(String path, String defaultSchema)
static boolean isAttributeNotationContainsSchema(String fullAttrNotation)
default String appendSubAttributeToPath(String fullAttributePath, String subAttribute)
default boolean isAttributeNotationContainsValueFilter(String fullAttributeNotation)
default String removeValueFilterFromAttributeNotation(String fullAttributeNotation)
static boolean isCustomSchema(String schemaId)
static boolean isCoreSchema(String schemaId)
Copyright © 2022 SAP SE. All rights reserved.