|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.Control
com.unboundid.ldap.sdk.unboundidds.controls.SuppressOperationalAttributeUpdateRequestControl
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class SuppressOperationalAttributeUpdateRequestControl
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This class provides an implementation of a control that can be used to indicate that the server should suppress the update to one or more operational attributes for the associated request.
true
or false
. The control must
have a value with the following encoding:
SuppressOperationalAttributeUpdateRequestValue ::= SEQUENCE { suppressTypes [0] SEQUENCE OF ENUMERATED { last-access-time (0), last-login-time (1), last-login-ip (2), lastmod (3), ... }, ... }
Field Summary | |
---|---|
static java.lang.String |
SUPPRESS_OP_ATTR_UPDATE_REQUEST_OID
The OID (1.3.6.1.4.1.30221.2.5.27) for the suppress operational attribute update request control. |
Constructor Summary | |
---|---|
SuppressOperationalAttributeUpdateRequestControl(boolean isCritical,
java.util.Collection<SuppressType> suppressTypes)
Creates a new instance of this control that will suppress updates to the specified kinds of operational attributes. |
|
SuppressOperationalAttributeUpdateRequestControl(boolean isCritical,
SuppressType... suppressTypes)
Creates a new instance of this control that will suppress updates to the specified kinds of operational attributes. |
|
SuppressOperationalAttributeUpdateRequestControl(java.util.Collection<SuppressType> suppressTypes)
Creates a new instance of this control that will suppress updates to the specified kinds of operational attributes. |
|
SuppressOperationalAttributeUpdateRequestControl(Control control)
Decodes the provided generic control as a suppress operational attribute update request control. |
|
SuppressOperationalAttributeUpdateRequestControl(SuppressType... suppressTypes)
Creates a new instance of this control that will suppress updates to the specified kinds of operational attributes. |
Method Summary | |
---|---|
java.lang.String |
getControlName()
Retrieves the user-friendly name for this control, if available. |
java.util.Set<SuppressType> |
getSuppressTypes()
Retrieves the set of suppress types for this control. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this LDAP control to the provided buffer. |
Methods inherited from class com.unboundid.ldap.sdk.Control |
---|
decode, decode, decodeControls, deregisterDecodeableControl, encode, encodeControls, equals, getOID, getValue, hashCode, hasValue, isCritical, readFrom, registerDecodeableControl, toString, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SUPPRESS_OP_ATTR_UPDATE_REQUEST_OID
Constructor Detail |
---|
public SuppressOperationalAttributeUpdateRequestControl(SuppressType... suppressTypes)
suppressTypes
- The set of suppress types to include in the control.
It must not be null
or empty.public SuppressOperationalAttributeUpdateRequestControl(java.util.Collection<SuppressType> suppressTypes)
suppressTypes
- The set of suppress types to include in the control.
It must not be null
or empty.public SuppressOperationalAttributeUpdateRequestControl(boolean isCritical, SuppressType... suppressTypes)
isCritical
- Indicates whether the control should be considered
critical.suppressTypes
- The set of suppress types to include in the control.
It must not be null
or empty.public SuppressOperationalAttributeUpdateRequestControl(boolean isCritical, java.util.Collection<SuppressType> suppressTypes)
isCritical
- Indicates whether the control should be considered
critical.suppressTypes
- The set of suppress types to include in the control.
It must not be null
or empty.public SuppressOperationalAttributeUpdateRequestControl(Control control) throws LDAPException
control
- The generic control to be decoded as a suppress
operational attribute update request control.
LDAPException
- If a problem is encountered while attempting to
decode the provided control.Method Detail |
---|
public java.util.Set<SuppressType> getSuppressTypes()
public java.lang.String getControlName()
getControlName
in class Control
public void toString(java.lang.StringBuilder buffer)
toString
in class Control
buffer
- The buffer to which to append the string representation of
this buffer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |