public interface DirectoryObject
Modifier and Type | Field and Description |
---|---|
static int |
DOT
Used with
getDN ; specifies the returned DN should be in dot format. |
static int |
LDAP
Used with
getDN ; specifies the returned DN should be in LDAP format. |
static int |
QUALIFIED_DOT
Used with
getDN ; specifies the returned DN should be in qualified-dot format. |
static int |
QUALIFIED_SLASH
Used with
getDN ; specifies the returned DN should be in qualified-slash format. |
static int |
SLASH
Used with
getDN ; specifies the returned DN should be in slash format. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDN(int dnType)
Return the DN of the directory object represented by this interface instance.
|
long |
getEntryID()
Return the entry ID of the directory object represented by this interface instance.
|
static final int LDAP
getDN
; specifies the returned DN should be in LDAP format.static final int SLASH
getDN
; specifies the returned DN should be in slash format.static final int QUALIFIED_SLASH
getDN
; specifies the returned DN should be in qualified-slash format.static final int DOT
getDN
; specifies the returned DN should be in dot format.static final int QUALIFIED_DOT
getDN
; specifies the returned DN should be in qualified-dot format.java.lang.String getDN(int dnType) throws java.lang.IllegalArgumentException
dnType
- LDAP
, SLASH
, QUALIFIED_SLASH
, DOT
, QUALIFIED_DOT
String
containing formatted DNjava.lang.IllegalArgumentException
- thrown if dnType
is not one of the listed valueslong getEntryID()