| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface DeleteRequest
This interface defines a set of methods which may be used to interact with a delete request.
| Method Summary | |
|---|---|
 java.lang.String | 
getDN()
Retrieves the DN of the entry to be deleted.  | 
 com.unboundid.ldap.sdk.unboundidds.controls.HardDeleteRequestControl | 
getHardDeleteRequestControl()
Retrieves the hard-delete request control included in the delete request if it is present.  | 
 com.unboundid.ldap.sdk.unboundidds.controls.SoftDeleteRequestControl | 
getSoftDeleteRequestControl()
Retrieves the soft-delete request control included in the delete request if it is present.  | 
 boolean | 
isHardDelete()
Indicates whether this request will result in the target entry being hard-deleted.  | 
 boolean | 
isSoftDelete()
Indicates whether this request will result in the target entry being soft-deleted.  | 
 com.unboundid.ldap.sdk.ReadOnlyDeleteRequest | 
toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this delete request.  | 
 com.unboundid.ldif.LDIFDeleteChangeRecord | 
toLDIFChangeRecord()
Retrieves an LDIF change record that corresponds to this delete request.  | 
| Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request | 
|---|
getOperationType, getRequestControls | 
| Method Detail | 
|---|
java.lang.String getDN()
com.unboundid.ldap.sdk.ReadOnlyDeleteRequest toLDAPSDKRequest()
com.unboundid.ldif.LDIFDeleteChangeRecord toLDIFChangeRecord()
toLDIFChangeRecord in interface ChangeRequestboolean isSoftDelete()
SoftDeleteRequestControl is included or if the request matches
 the auto-soft-delete connection criteria or request criteria specified in
 the Soft Delete Policy for the server.
com.unboundid.ldap.sdk.unboundidds.controls.SoftDeleteRequestControl getSoftDeleteRequestControl()
SoftDeleteRequestControl if the request matches the
 auto-soft-delete connection criteria; in that case this method will return
 null.
null.boolean isHardDelete()
HardDeleteRequestControl is included or if the request didn't match
 any condition necessary to make it a soft-delete.
com.unboundid.ldap.sdk.unboundidds.controls.HardDeleteRequestControl getHardDeleteRequestControl()
HardDeleteRequestControl. If the request is not a soft-delete, it
 is effectively a hard delete; the presence of the
 HardDeleteRequestControl just makes it explicit.
null.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||