Class CreateImpl
- 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.CreateImpl
-
- All Implemented Interfaces:
APIOperation
,CreateApiOp
public class CreateImpl extends ConnectorAPIOperationRunner implements CreateApiOp
-
-
Field Summary
-
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description CreateImpl(ConnectorOperationalContext context, Connector connector)
Initializes the operation works.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Uid
create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
Calls the create method on the Connector side.-
Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
getConnector, getNormalizer, getOperationalContext
-
-
-
-
Constructor Detail
-
CreateImpl
public CreateImpl(ConnectorOperationalContext context, Connector connector)
Initializes the operation works.
-
-
Method Detail
-
create
public Uid create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
Calls the create method on the Connector side.- Specified by:
create
in interfaceCreateApiOp
- Parameters:
objectClass
- the type of object to create. Must not be null.createAttributes
- includes all the attributes necessary to create the target object (including theObjectClass
attribute).options
- additional options that impact the way this operation is run. May be null.- Returns:
- the unique id for the object that is created. For instance in LDAP this would be the 'dn', for a database this would be the primary key, and for 'ActiveDirectory' this would be the GUID.
- See Also:
CreateOp.create(org.identityconnectors.framework.common.objects.ObjectClass, java.util.Set, org.identityconnectors.framework.common.objects.OperationOptions)
-
-