public class DSMLAddOperation extends Object
Constructor and Description |
---|
DSMLAddOperation(LDAPConnection connection)
Create the instance with the specified LDAP connection.
|
Modifier and Type | Method and Description |
---|---|
LDAPResult |
doOperation(ObjectFactory objFactory,
AddRequest addRequest,
List<Control> controls)
Perform the LDAP ADD operation and return the result to the client.
|
public DSMLAddOperation(LDAPConnection connection)
connection
- The LDAP connection to the server.public LDAPResult doOperation(ObjectFactory objFactory, AddRequest addRequest, List<Control> controls) throws IOException, LDAPException, org.forgerock.opendj.ldap.DecodeException
objFactory
- The object factory for this operation.addRequest
- The add request for this operation.controls
- Any required controls (e.g. for proxy authz).IOException
- If an I/O problem occurs.LDAPException
- If an error occurs while interacting with an LDAP
element.org.forgerock.opendj.ldap.DecodeException
- If an error occurs while interacting with an ASN.1
element.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.