@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ListNotificationSubscriptionsExtendedResult extends ExtendedResult
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.
ListNotificationSubscriptionsResponse ::= SEQUENCE OF SEQUENCE { notificationDestinationID OCTET STRING, destinationDetails SEQUENCE OF OCTET STRING, subscriptions SEQUENCE OF SEQUENCE { subscriptionID OCTET STRING, subscriptionDetails SEQUENCE OF OCTET STRING } }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LIST_NOTIFICATION_SUBSCRIPTIONS_RESULT_OID
The OID (1.3.6.1.4.1.30221.2.6.41) for the list notification subscriptions
extended result.
|
NO_CONTROLS
Constructor and Description |
---|
ListNotificationSubscriptionsExtendedResult(ExtendedResult extendedResult)
Creates a new list notification subscriptions extended result from the
provided extended result.
|
ListNotificationSubscriptionsExtendedResult(int messageID,
ResultCode resultCode,
java.lang.String diagnosticMessage,
java.lang.String matchedDN,
java.lang.String[] referralURLs,
java.util.Collection<NotificationDestinationDetails> destinations,
Control... controls)
Creates a new list notification subscriptions extended request with the
provided information.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<NotificationDestinationDetails> |
getDestinations()
Retrieves a list of the defined notification destinations and their
associated subscriptions.
|
java.lang.String |
getExtendedResultName()
Retrieves the user-friendly name for the extended result, if available.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this extended result to the provided
buffer.
|
getOID, getValue, hasValue, toString
getDiagnosticMessage, getMatchedDN, getMessageID, getOperationType, getReferralURLs, getResponseControl, getResponseControls, getResultCode, getResultString, hasResponseControl, hasResponseControl
@NotNull public static final java.lang.String LIST_NOTIFICATION_SUBSCRIPTIONS_RESULT_OID
public ListNotificationSubscriptionsExtendedResult(@NotNull ExtendedResult extendedResult) throws LDAPException
extendedResult
- The extended result to be decoded as a list
notification subscriptions extended result.LDAPException
- If a problem is encountered while attempting to
decode the provided extended result as a
multi-update result.public ListNotificationSubscriptionsExtendedResult(int messageID, @NotNull ResultCode resultCode, @Nullable java.lang.String diagnosticMessage, @Nullable java.lang.String matchedDN, @Nullable java.lang.String[] referralURLs, @Nullable java.util.Collection<NotificationDestinationDetails> destinations, @Nullable Control... controls) throws LDAPException
messageID
- The message ID for this extended result.resultCode
- The result code for this result. It must not be
null
.diagnosticMessage
- The diagnostic message to include in the result.
It may be null
if no diagnostic message
should be included.matchedDN
- The matched DN to include in the result. It may
be null
if no matched DN should be
included.referralURLs
- The set of referral URLs to include in the
result. It may be null
or empty if no
referral URLs should be included.destinations
- The notification destination details for this
result. It may be null
or empty for a
non-success result.controls
- The set of controls to include in the
multi-update result. It may be null
or
empty if no controls should be included.LDAPException
- If any of the results are for an inappropriate
operation type.@NotNull public java.util.List<NotificationDestinationDetails> getDestinations()
@NotNull public java.lang.String getExtendedResultName()
null
will be returned.getExtendedResultName
in class ExtendedResult
null
if neither a user-friendly name nor a response OID
are available.public void toString(@NotNull java.lang.StringBuilder buffer)
toString
in interface LDAPResponse
toString
in class ExtendedResult
buffer
- The buffer to which a string representation of this
extended result will be appended.