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
-
Field Summary
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionCreateImpl
(ConnectorOperationalContext context, Connector connector) Initializes the operation works. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(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 Details
-
CreateImpl
Initializes the operation works.
-
-
Method Details
-
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:
-