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 EntrygetEntry()Retrieves the entry to be added.booleanisUndelete()Indicates whether thisAddRequestcontains theUndeleteRequestControl.ReadOnlyAddRequesttoLDAPSDKRequest()Retrieves an LDAP SDK representation of this add request.LDIFAddChangeRecordtoLDIFChangeRecord()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:
toLDIFChangeRecordin interfaceChangeRequest- Returns:
- An LDIF change record that corresponds to this add request.
-
isUndelete
boolean isUndelete()
Indicates whether thisAddRequestcontains theUndeleteRequestControl. If this method returnstrue, the undelete control can be obtained from theRequest.getRequestControls()method.- Returns:
- true if the
UndeleteRequestControlis included in this request, false if not.
-
-