public class ResourceManagerUtil extends Object
| Constructor and Description |
|---|
ResourceManagerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Boolean> |
getAllAttributeURIs(SCIMResourceTypeSchema schema) |
static List<String> |
getAllSimpleMultiValuedAttributes(SCIMResourceTypeSchema schema)
Get all simple multi-valued attributes defined in the schema.
|
static Map<String,Boolean> |
getOnlyRequiredAttributesURIs(SCIMResourceTypeSchema schema,
String requestedAttributes,
String requestedExcludingAttributes) |
static Integer |
processCount(Integer countInt)
Process count value according to SCIM 2.0 specification.
|
static int |
processCount(String countStr)
Process count value according to SCIM 2.0 specification
|
static Integer |
processStartIndex(Integer startIndex)
Process startIndex value according to SCIM 2.0 specification
|
static int |
processStartIndex(String startIndexStr)
Process startIndex value according to SCIM 2.0 specification
|
public static Map<String,Boolean> getOnlyRequiredAttributesURIs(SCIMResourceTypeSchema schema, String requestedAttributes, String requestedExcludingAttributes) throws CharonException
CharonExceptionpublic static Map<String,Boolean> getAllAttributeURIs(SCIMResourceTypeSchema schema) throws CharonException
CharonExceptionpublic static int processCount(String countStr) throws BadRequestException
countStr - BadRequestExceptionpublic static Integer processCount(Integer countInt)
countInt - The count value in the requestpublic static Integer processStartIndex(Integer startIndex)
startIndex - Starting index in the request.public static int processStartIndex(String startIndexStr) throws BadRequestException
startIndexStr - BadRequestExceptionpublic static List<String> getAllSimpleMultiValuedAttributes(SCIMResourceTypeSchema schema)
schema - SCIM schema.Copyright © 2023 WSO2. All rights reserved.