| Modifier and Type | Method and Description |
|---|---|
void |
BaseResource.addOrReplaceMultiValuedValue(String name,
ComplexValue attributeValue)
Add or replace a value on a multi-valued attribute with the specified
name.
|
void |
BaseResource.addOrReplaceMultiValuedValue(String schema,
String name,
ComplexValue attributeValue)
Add or replace a value on a multi-valued attribute with the specified
schema and name.
|
abstract SCIMAttributeValue |
AttributeValueResolver.fromInstance(AttributeDescriptor attributeDescriptor,
T value)
Create a SCIM attribute value from the given instance.
|
ComplexValue |
BaseResource.getComplexAttributeValue(String name)
Get a complex attribute with the specified name.
|
ComplexValue |
BaseResource.getComplexAttributeValue(String schema,
String name)
Get a complex attribute with the specified name and schema.
|
Collection<ComplexValue> |
BaseResource.getMultiValuedAttribute(String name)
Get the values of a multi-valued attribute with the specified name.
|
Collection<ComplexValue> |
BaseResource.getMultiValuedAttribute(String schema,
String name)
Get the values of the multi-valued attribute specified by schema and
attribute name.
|
SimpleValue |
BaseResource.getSimpleAttributeValue(String name)
Get a simple attribute with the specified name.
|
SimpleValue |
BaseResource.getSimpleAttributeValue(String schema,
String name)
Get a simple attribute with the specified name and schema.
|
<T> void |
BaseResource.setAttributeValues(String schema,
String name,
AttributeValueResolver<T> resolver,
Collection<T> values)
Sets a multi-valued attribute value.
|
void |
BaseResource.setComplexAttribute(String name,
ComplexValue attributeValue)
Set a complex attribute value with the specified name.
|
void |
BaseResource.setComplexAttribute(String schema,
String name,
ComplexValue attributeValue)
Set a complex attribute value with the specified schema and name.
|
void |
BaseResource.setMultiValuedAttribute(String name,
Collection<ComplexValue> values)
Set all values of a multi-valued attribute with the specified name.
|
void |
BaseResource.setMultiValuedAttribute(String schema,
String name,
Collection<ComplexValue> values)
Set all values of a multi-valued attribute with the specified schema and
name.
|
void |
BaseResource.setSimpleAttribute(String name,
SimpleValue value)
Set a simple attribute value with the specified name, using an
AttributeValueResolver appropriate for the attribute
data type. |
void |
BaseResource.setSimpleAttribute(String schema,
String name,
SimpleValue value)
Set a simple attribute value with the specified schema and name,
using an
AttributeValueResolver appropriate for
the attribute data type. |
<T> void |
BaseResource.setSingularAttributeValue(String schema,
String name,
AttributeValueResolver<T> resolver,
T value)
Sets a singular attribute value.
|
| Modifier and Type | Method and Description |
|---|---|
<R extends BaseResource> |
Unmarshaller.unmarshal(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
Reads a SCIM resource from an input stream.
|
SCIMException |
Unmarshaller.unmarshalError(InputStream inputStream)
Reads a SCIM error response from an input stream.
|
<R extends BaseResource> |
Unmarshaller.unmarshalResources(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
Reads a SCIM query response from an input stream.
|
| Modifier and Type | Method and Description |
|---|---|
protected SCIMAttribute |
JsonParser.create(AttributeDescriptor descriptor,
Object jsonAttribute)
Create a SCIM attribute from its JSON object representation.
|
protected SCIMAttributeValue |
JsonParser.createComplexAttribute(org.json.JSONObject jsonAttribute,
AttributeDescriptor attributeDescriptor)
Parse a complex attribute from its representation as a JSON Object.
|
protected SCIMAttribute |
JsonParser.createMultiValuedAttribute(org.json.JSONArray jsonAttribute,
AttributeDescriptor attributeDescriptor)
Parse a multi-valued attribute from its representation as a JSON Array.
|
<R extends BaseResource> |
JsonUnmarshaller.unmarshal(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
Reads a SCIM resource from an input stream.
|
protected <R extends BaseResource> |
JsonParser.unmarshal(org.json.JSONObject jsonObject,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory,
org.json.JSONArray defaultSchemas)
Read a SCIM resource from the specified JSON object.
|
SCIMException |
JsonUnmarshaller.unmarshalError(InputStream inputStream)
Reads a SCIM error response from an input stream.
|
<R extends BaseResource> |
JsonUnmarshaller.unmarshalResources(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
Reads a SCIM query response from an input stream.
|
| Modifier and Type | Method and Description |
|---|---|
<R extends BaseResource> |
XmlUnmarshaller.unmarshal(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
Reads a SCIM resource from an input stream.
|
SCIMException |
XmlUnmarshaller.unmarshalError(InputStream inputStream)
Reads a SCIM error response from an input stream.
|
<R extends BaseResource> |
XmlUnmarshaller.unmarshalResources(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
Reads a SCIM query response from an input stream.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDescriptor |
ResourceDescriptor.getAttribute(String schema,
String name)
Retrieves the attribute descriptor for a specified attribute.
|
AttributeDescriptor |
AttributeDescriptor.getSubAttribute(String externalName)
Retrieves the attribute descriptor for a specified subordinate attribute
of a complex attribute.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SCIMObject.checkSchema(ResourceDescriptor resourceDescriptor,
boolean includeCommonAttributes)
Check this object for potential schema violations based on the provided
resource descriptor.
|
SCIMQueryAttributes |
SCIMQueryAttributes.merge(SCIMQueryAttributes that)
Return query attributes formed by merging these query attributes with the
provided query attributes.
|
R |
Diff.toPartialResource(ResourceFactory<R> resourceFactory,
boolean includeReadOnlyAttributes)
Retrieves the partial resource with the modifications that maybe sent in
a PATCH request.
|
| Constructor and Description |
|---|
SCIMQueryAttributes(List<String> attributes,
ResourceDescriptor resourceDescriptor)
Create a new instance of query attributes from their string representation.
|
SCIMQueryAttributes(ResourceDescriptor resourceDescriptor,
String attributes)
Create a new instance of query attributes from their string representation.
|
Copyright © 2011–2016 UnboundID. All rights reserved.