org.identityconnectors.framework.impl.api.local.operations
Class UpdateImpl
java.lang.Object
org.identityconnectors.framework.impl.api.local.operations.APIOperationRunner
org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
org.identityconnectors.framework.impl.api.local.operations.UpdateImpl
- All Implemented Interfaces:
- APIOperation, UpdateApiOp
public class UpdateImpl
- extends ConnectorAPIOperationRunner
- implements UpdateApiOp
Handles both version of update this include simple replace and the advance
update.
|
Method Summary |
Uid |
addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToAdd,
OperationOptions options)
|
Set<Attribute> |
merge(Set<Attribute> updateAttrs,
Set<Attribute> baseAttrs,
boolean add)
Merges two connector objects into a single updated object. |
Uid |
removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToRemove,
OperationOptions options)
|
Uid |
update(ObjectClass objclass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options)
|
static void |
validateInput(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
boolean isDelta)
Makes things easier if you can trust the input. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateImpl
public UpdateImpl(ConnectorOperationalContext context,
Connector connector)
- Determines which type of update a connector supports and then uses that
handler.
update
public Uid update(ObjectClass objclass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options)
- Specified by:
update in interface UpdateApiOp
addAttributeValues
public Uid addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToAdd,
OperationOptions options)
- Specified by:
addAttributeValues in interface UpdateApiOp
removeAttributeValues
public Uid removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToRemove,
OperationOptions options)
- Specified by:
removeAttributeValues in interface UpdateApiOp
merge
public Set<Attribute> merge(Set<Attribute> updateAttrs,
Set<Attribute> baseAttrs,
boolean add)
- Merges two connector objects into a single updated object.
validateInput
public static void validateInput(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
boolean isDelta)
- Makes things easier if you can trust the input.
Copyright © 2011. All Rights Reserved.