Interface AddRequest
-
- All Superinterfaces:
ChangeRequest
,Request
- All Known Subinterfaces:
UpdatableAddRequest
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface AddRequest extends ChangeRequest
This interface defines a set of methods which may be used to interact with an add request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entry
getEntry()
Retrieves the entry to be added.boolean
isUndelete()
Indicates whether thisAddRequest
contains theUndeleteRequestControl
.ReadOnlyAddRequest
toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this add request.LDIFAddChangeRecord
toLDIFChangeRecord()
Retrieves an LDIF change record that corresponds to this add request.-
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request
getOperationType, getRequestControls
-
-
-
-
Method Detail
-
toLDAPSDKRequest
ReadOnlyAddRequest toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this add request.- Returns:
- An LDAP SDK representation of this add request.
-
toLDIFChangeRecord
LDIFAddChangeRecord toLDIFChangeRecord()
Retrieves an LDIF change record that corresponds to this add request.- Specified by:
toLDIFChangeRecord
in interfaceChangeRequest
- Returns:
- An LDIF change record that corresponds to this add request.
-
isUndelete
boolean isUndelete()
Indicates whether thisAddRequest
contains theUndeleteRequestControl
. If this method returnstrue
, the undelete control can be obtained from theRequest.getRequestControls()
method.- Returns:
- true if the
UndeleteRequestControl
is included in this request, false if not.
-
-