@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class SubtreeDeleterResult extends java.lang.Object implements java.io.Serializable
SubtreeDeleter
,
Serialized FormModifier and Type | Method and Description |
---|---|
boolean |
completelySuccessful()
Indicates whether the
SubtreeDeleter processing was completely
successful. |
java.util.SortedMap<DN,LDAPResult> |
getDeleteErrors()
Retrieves an unmodifiable sorted map of the DNs of entries that could not
be successfully deleted, each of which is associated with an
LDAPResult indicating the reason for the delete failure. |
java.util.SortedMap<DN,LDAPResult> |
getDeleteErrorsDescendingMap()
Retrieves an unmodifiable sorted map of the DNs of entries that could not
be successfully deleted, each of which is associated with an
LDAPResult indicating the reason for the delete failure. |
long |
getEntriesDeleted()
Retrieves the number of entries that were successfully deleted.
|
SearchResult |
getSearchError()
Retrieves a search result with information about an error that occurred
during search processing that prevented identifying all of the entries in
the target subtree.
|
LDAPResult |
getSetSubtreeAccessibilityError()
Retrieves an
LDAPResult that provides information about an error
that occurred while trying to make the target subtree inaccessible before
subtree delete processing, or if an error occurred while trying to remove
the subtree accessibility restriction after all other processing had
completed successfully. |
boolean |
subtreeInaccessible()
Indicates whether the target subtree was left in an inaccessible state
after some error occurred during subtree delete processing.
|
java.lang.String |
toString()
Retrieves a string representation of this subtree deleter result.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this subtree deleter result to the
provided buffer.
|
public boolean completelySuccessful()
SubtreeDeleter
processing was completely
successful.true
if the subtree deleter processing was completely
successful, or false
if not.@Nullable public LDAPResult getSetSubtreeAccessibilityError()
LDAPResult
that provides information about an error
that occurred while trying to make the target subtree inaccessible before
subtree delete processing, or if an error occurred while trying to remove
the subtree accessibility restriction after all other processing had
completed successfully. This may be null
if no attempts was made
to alter the subtree accessibility, or if no error occurred during
processing.
null
and subtreeInaccessible
returns false
, then the error occurred while attempting to make the
target subtree inaccessible. If the return value is non-null
and
isSubtreeInaccessible
returns true
, then the error occurred
while attempting to remove the subtree accessibility restriction.LDAPResult
that provides information about an error
that occurred while attempting to alter the accessibility of the
target subtree, or null
if no such error occurred.public boolean subtreeInaccessible()
true
if the subtree was set inaccessible at the start of
subtree delete processing and remains inaccessible after an error
occurred during processing, or false
if the subtree
accessibility was not altered or if the accessibility restriction
was removed after all processing completed successfully.@Nullable public SearchResult getSearchError()
null
if no error
occurred during search processing.public long getEntriesDeleted()
@NotNull public java.util.SortedMap<DN,LDAPResult> getDeleteErrors()
LDAPResult
indicating the reason for the delete failure. The map
will be ordered in ascending order using the comparator provided by the
DN
class (that is, with ancestor entries before their descendants).LDAPResult
indicating the reason for the delete failure.@NotNull public java.util.SortedMap<DN,LDAPResult> getDeleteErrorsDescendingMap()
LDAPResult
indicating the reason for the delete failure. The map
will be ordered in descending order using the comparator provided by the
DN
class (that is, with descendant entries before their ancestors).LDAPResult
indicating the reason for the delete failure.@NotNull public java.lang.String toString()
toString
in class java.lang.Object