@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class BatchedTransactionSpecificationRequestControl extends Control
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
AssertionRequestControl
,
ManageDsaITRequestControl
, PreReadRequestControl
, and
PostReadRequestControl
. The
ProxiedAuthorizationV1RequestControl
and
ProxiedAuthorizationV2RequestControl
controls cannot be included in
requests that are part of a transaction, but you can include them in the
StartBatchedTransactionExtendedRequest
to indicate that all
operations within the transaction should be processed with the specified
authorization identity.
AccountUsableRequestControl
, HardDeleteRequestControl
,
IntermediateClientRequestControl
,
PasswordPolicyRequestControl
,
ReplicationRepairRequestControl
, SoftDeleteRequestControl
,
SoftDeletedEntryAccessRequestControl
,
SubtreeDeleteRequestControl
, and UndeleteRequestControl
.
StartBatchedTransactionExtendedRequest
class for an example of processing a batched transaction.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BATCHED_TRANSACTION_SPECIFICATION_REQUEST_OID
The OID (1.3.6.1.4.1.30221.2.5.1) for the batched transaction specification
request control.
|
Constructor and Description |
---|
BatchedTransactionSpecificationRequestControl(ASN1OctetString transactionID)
Creates a new batched transaction specification request control with the
provided transaction ID.
|
BatchedTransactionSpecificationRequestControl(Control control)
Creates a new batched transaction specification request control which is
decoded from the provided generic control.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getControlName()
Retrieves the user-friendly name for this control, if available.
|
ASN1OctetString |
getTransactionID()
Retrieves the transaction ID for the associated transaction.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this LDAP control to the provided
buffer.
|
decode, decode, decodeControls, decodeJSONControl, deregisterDecodeableControl, encode, encodeControls, equals, getOID, getValue, hashCode, hasValue, isCritical, readFrom, registerDecodeableControl, registerDecodeableControl, toJSONControl, toString, writeTo
@NotNull public static final java.lang.String BATCHED_TRANSACTION_SPECIFICATION_REQUEST_OID
public BatchedTransactionSpecificationRequestControl(@NotNull ASN1OctetString transactionID)
transactionID
- The transaction ID for the associated transaction,
as obtained from the start batched transaction
extended operation. It must not be null
.public BatchedTransactionSpecificationRequestControl(@NotNull Control control) throws LDAPException
control
- The generic control to be decoded as a batched transaction
specification request control.LDAPException
- If the provided control cannot be decoded as a
batched transaction specification request control.@NotNull public ASN1OctetString getTransactionID()
@NotNull public java.lang.String getControlName()
getControlName
in class Control