|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface ReadOnlyModifyRequest
This interface defines a set of methods that may be safely called in an LDAP
modify request without altering its contents. This interface must not be
implemented by any class other than ModifyRequest
.
This interface does not inherently provide the assurance of thread safety for
the methods that it exposes, because it is still possible for a thread
referencing the object which implements this interface to alter the request
using methods not included in this interface. However, if it can be
guaranteed that no thread will alter the underlying object, then the methods
exposed by this interface can be safely invoked concurrently by any number of
threads.
Method Summary | |
---|---|
ModifyRequest |
duplicate()
Creates a new instance of this LDAP request that may be modified without impacting this request. |
ModifyRequest |
duplicate(Control[] controls)
Creates a new instance of this LDAP request that may be modified without impacting this request. |
java.lang.String |
getDN()
Retrieves the DN of the entry to modify. |
java.util.List<Modification> |
getModifications()
Retrieves the set of modifications for this modify request. |
java.lang.String[] |
toLDIF()
Retrieves a string array whose lines contain an LDIF representation of the corresponding modify change record. |
LDIFModifyChangeRecord |
toLDIFChangeRecord()
Retrieves an LDIF modify change record with the contents of this modify request. |
java.lang.String |
toLDIFString()
Retrieves an LDIF string representation of this modify request. |
Methods inherited from interface com.unboundid.ldap.sdk.ReadOnlyLDAPRequest |
---|
followReferrals, getControl, getControlList, getResponseTimeoutMillis, hasControl, hasControl, toString, toString |
Method Detail |
---|
java.lang.String getDN()
java.util.List<Modification> getModifications()
ModifyRequest duplicate()
duplicate
in interface ReadOnlyLDAPRequest
ModifyRequest duplicate(Control[] controls)
duplicate
in interface ReadOnlyLDAPRequest
controls
- The set of controls to include in the duplicate request.
LDIFModifyChangeRecord toLDIFChangeRecord()
java.lang.String[] toLDIF()
java.lang.String toLDIFString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |