public interface CreateApiOp extends APIOperation
NO_TIMEOUT
Modifier and Type | Method and Description |
---|---|
Uid |
create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
Create a target object based on the specified attributes.
|
Uid create(ObjectClass objectClass, Set<Attribute> createAttributes, OperationOptions options)
ObjectClass
. The Connector
itself may require
additional attributes. The API will confirm that the set contains the
ObjectClass
attribute and that no two attributes in the set
have the same name
.objectClass
- the type of object to create. Must not be null.createAttributes
- includes all the attributes necessary to create the target
object (including the ObjectClass
attribute).options
- additional options that impact the way this operation is run.
May be null.IllegalArgumentException
- if ObjectClass
is missing or elements of the set
produce duplicate values of Attribute.getName()
.NullPointerException
- if the parameter createAttributes
is
null
.RuntimeException
- if the Connector
SPI throws a native
Exception
.Copyright © 2019. All rights reserved.