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:
org.identityconnectors.framework.api.operations.APIOperation,org.identityconnectors.framework.api.operations.UpdateApiOp
public class UpdateImpl extends ConnectorAPIOperationRunner implements org.identityconnectors.framework.api.operations.UpdateApiOp
Handles both version of update this include simple replace and the advance update.
-
-
Constructor Summary
Constructors Constructor Description UpdateImpl(ConnectorOperationalContext context, org.identityconnectors.framework.spi.Connector connector)Determines which type of update a connector supports and then uses that handler.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.identityconnectors.framework.common.objects.UidaddAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objclass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> valuesToAdd, org.identityconnectors.framework.common.objects.OperationOptions options)Set<org.identityconnectors.framework.common.objects.Attribute>merge(Set<org.identityconnectors.framework.common.objects.Attribute> updateAttrs, Set<org.identityconnectors.framework.common.objects.Attribute> baseAttrs, boolean add)Merges two connector objects into a single updated object.org.identityconnectors.framework.common.objects.UidremoveAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objclass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> valuesToRemove, org.identityconnectors.framework.common.objects.OperationOptions options)org.identityconnectors.framework.common.objects.Uidupdate(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> replaceAttributes, org.identityconnectors.framework.common.objects.OperationOptions options)static voidvalidateInput(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> replaceAttributes, boolean isDelta)Makes things easier if you can trust the input.-
Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
getConnector, getNormalizer, getOperationalContext
-
-
-
-
Constructor Detail
-
UpdateImpl
public UpdateImpl(ConnectorOperationalContext context, org.identityconnectors.framework.spi.Connector connector)
Determines which type of update a connector supports and then uses that handler.
-
-
Method Detail
-
update
public org.identityconnectors.framework.common.objects.Uid update(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> replaceAttributes, org.identityconnectors.framework.common.objects.OperationOptions options)- Specified by:
updatein interfaceorg.identityconnectors.framework.api.operations.UpdateApiOp
-
addAttributeValues
public org.identityconnectors.framework.common.objects.Uid addAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objclass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> valuesToAdd, org.identityconnectors.framework.common.objects.OperationOptions options)- Specified by:
addAttributeValuesin interfaceorg.identityconnectors.framework.api.operations.UpdateApiOp
-
removeAttributeValues
public org.identityconnectors.framework.common.objects.Uid removeAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objclass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> valuesToRemove, org.identityconnectors.framework.common.objects.OperationOptions options)- Specified by:
removeAttributeValuesin interfaceorg.identityconnectors.framework.api.operations.UpdateApiOp
-
merge
public Set<org.identityconnectors.framework.common.objects.Attribute> merge(Set<org.identityconnectors.framework.common.objects.Attribute> updateAttrs, Set<org.identityconnectors.framework.common.objects.Attribute> baseAttrs, boolean add)
Merges two connector objects into a single updated object.
-
validateInput
public static void validateInput(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> replaceAttributes, boolean isDelta)Makes things easier if you can trust the input.
-
-