public interface BrowserNodeInfo
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_NONE
No error happened.
|
static int |
ERROR_READING_ENTRY
And error reading the entry occurred.
|
static int |
ERROR_SEARCHING_CHILDREN
An error occurred searching the children of the entry.
|
static int |
ERROR_SOLVING_REFERRAL
An error following referrals occurred.
|
Modifier and Type | Method and Description |
---|---|
Object |
getErrorArg()
Returns the argument associated to an error/exception.
|
Exception |
getErrorException()
Returns the exception associated to the error.
|
int |
getErrorType()
Returns the error detected while reading this entry.
|
BasicNode |
getNode()
Returns the basic node associated with the node info.
|
int |
getNumSubOrdinates()
Returns the value of numsubordinates for the entry.
|
String[] |
getObjectClassValues()
Returns the object class value of the entry that the nodes represents.
|
String[] |
getReferral()
Returns the referrals attached to the displayed entry.
|
TreePath |
getTreePath()
Returns the TreePath corresponding to the displayed entry.
|
LDAPURL |
getURL()
URL of the displayed entry.
|
boolean |
hasSubOrdinates()
Returns the value of hassubordinates for the entry.
|
boolean |
isRemote()
Returns whether the displayed entry is not located on the
current server.
|
boolean |
isRootNode()
Returns whether the displayed entry is the root node of the
server (the dn="" entry)..
|
boolean |
isSuffix()
Returns whether the displayed entry is the top entry of a suffix.
|
boolean |
representsSameNode(BrowserNodeInfo node)
Tells whether the node passed as parameter represents the same node as this
one.
|
static final int ERROR_NONE
static final int ERROR_READING_ENTRY
static final int ERROR_SOLVING_REFERRAL
static final int ERROR_SEARCHING_CHILDREN
boolean isSuffix()
true
if the displayed entry is the top entry of a suffix,
false
otherwise.boolean isRootNode()
true
if the displayed entry is the root node of the
server (the dn="" entry) and false
otherwise.boolean isRemote()
true
if the displayed entry is not located on the
current server, false
otherwise.int getNumSubOrdinates()
boolean hasSubOrdinates()
String[] getReferral()
null
if the attribute is not present.int getErrorType()
Exception getErrorException()
null
if getErrorType() == ERROR_NONE.Object getErrorArg()
BasicNode getNode()
TreePath getTreePath()
boolean representsSameNode(BrowserNodeInfo node)
node
- the node.true
if the node passed as parameter represents the
same node as this one and false
otherwise.String[] getObjectClassValues()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.