public abstract class ModifyRequestBuilder<T extends ModifyRequestBuilder<T>> extends ResourceReturningRequestBuilder<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
ModifyRequestBuilder.Generic<T extends ScimResource>
A builder for SCIM modify requests for where the returned resource POJO
type will be the same as the original.
|
static class |
ModifyRequestBuilder.Typed
A builder for SCIM modify requests for where the returned resource POJO
type will be provided.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<PatchOperation> |
operations
The list of patch operations to include in the request.
|
protected String |
version
The version to match.
|
attributes, excludedheaders, queryParams| Modifier and Type | Method and Description |
|---|---|
T |
addOperation(PatchOperation op)
Add a new patch operation this this patch request.
|
T |
addValues(Path path,
Collection<?> objects)
Add values to the multi-valued attribute specified by the path.
|
T |
addValues(Path path,
Object... objects)
Add values to the multi-valued attribute specified by the path.
|
T |
addValues(String path,
Collection<?> objects)
Add values to the multi-valued attribute specified by the path.
|
T |
addValues(String path,
Object... objects)
Add values to the multi-valued attribute specified by the path.
|
T |
removeValues(Path path)
Remove all values of the attribute specified by the path.
|
T |
removeValues(String path)
Remove all values of the attribute specified by the path.
|
T |
replaceValue(Path path,
Object object)
Set value of the attribute specified by the path, replacing any existing
value(s).
|
T |
replaceValue(String path,
Object object)
Set value of the attribute specified by the path, replacing any existing
value(s).
|
T |
replaceValues(Path path,
Collection<Object> objects)
Set values of the attribute specified by the path, replacing any existing
values.
|
T |
replaceValues(Path path,
Object... objects)
Set values of the attribute specified by the path, replacing any existing
values.
|
T |
replaceValues(String path,
Collection<Object> objects)
Set values of the attribute specified by the path, replacing any existing
values.
|
T |
replaceValues(String path,
Object... objects)
Set values of the attribute specified by the path, replacing any existing
values.
|
attributes, excludedAttributesaccept, contentType, getAccept, getContentType, header, queryParam, targetprotected final List<PatchOperation> operations
public T replaceValue(String path, Object object) throws ScimException
path - The path to the attribute whose value to set.object - The value to set.ScimException - If the path is invalid.public T replaceValue(Path path, Object object)
path - The path to the attribute whose value to set.object - The value to set.public T replaceValues(String path, Collection<Object> objects) throws ScimException
path - The path to the attribute whose value to set.objects - The value(s) to set.ScimException - If the path is invalid.public T replaceValues(Path path, Collection<Object> objects)
path - The path to the attribute whose value to set.objects - The value(s) to set.public T replaceValues(String path, Object... objects) throws ScimException
path - The path to the attribute whose value to set.objects - The value(s) to set.ScimException - If the path is invalid.public T replaceValues(Path path, Object... objects)
path - The path to the attribute whose value to set.objects - The value(s) to set.public T addValues(String path, Collection<?> objects) throws ScimException
path - The path to the multi-valued attribute.objects - The values to add.ScimException - If the path is invalid.public T addValues(Path path, Collection<?> objects)
path - The path to the multi-valued attribute.objects - The values to add.public T addValues(String path, Object... objects) throws ScimException
path - The path to the multi-valued attribute.objects - The values to add.ScimException - If the path is invalid.public T addValues(Path path, Object... objects)
path - The path to the multi-valued attribute.objects - The values to add.public T removeValues(String path) throws ScimException
path - The path to the attribute whose value to remove.ScimException - If the path is invalid.public T removeValues(Path path) throws ScimException
path - The path to the attribute whose value to remove.ScimException - If the path is invalid.public T addOperation(PatchOperation op)
op - The patch operation to add.Copyright © 2015–2021 Ping Identity Corporation. All rights reserved.