|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ldap.util.LDAPEntry
oracle.ldap.util.OracleContext
This class represents an Oracle Context in the directory
Field Summary | |
static java.lang.String |
oracleContextCN the common name (CN) of an Oracle Context |
static java.lang.String |
oracleContextObjClass the ldap objectClass for the oracle context |
static java.lang.String |
oracleContextRDN the relative distinguished name (RDN) of an Oracle Context |
Constructor Summary | |
OracleContext(javax.naming.directory.DirContext inCtx, java.lang.String inOrclCtxDN) Constructs an OracleContext specified by the input DN |
Method Summary | |
boolean |
exists(javax.naming.directory.DirContext ctx) Returns true if the Oracle Context exists |
static java.lang.String[] |
getOracleContext(javax.naming.directory.DirContext ctx) Returns a String[] of DNs of all the Oracle Contexts in the directory. |
static java.lang.String[] |
getOracleContext(javax.naming.directory.DirContext ctx, java.lang.String baseDN) Returns a String[] of DNs of all the Oracle Contexts in the directory under the specified base DN. |
java.lang.String |
getVersion(javax.naming.directory.DirContext ctx) Returns the version of this Oracle Context |
boolean |
isUpToDate(javax.naming.directory.DirContext ctx) Returns true if this Oracle Context is up to date with the current client version. |
void |
resolve(javax.naming.directory.DirContext ctx) Resolves the OracleContext object by validating the DN. |
Methods inherited from class oracle.ldap.util.LDAPEntry |
getDN, getProperties, setProperties |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String oracleContextCN
public static final java.lang.String oracleContextRDN
public static final java.lang.String oracleContextObjClass
Constructor Detail |
public OracleContext(javax.naming.directory.DirContext inCtx, java.lang.String inOrclCtxDN)
inCtx
- a valid DirContextinOrclCtxDN
- the DN of the OracleContextMethod Detail |
public boolean exists(javax.naming.directory.DirContext ctx)
public void resolve(javax.naming.directory.DirContext ctx) throws UtilException
resolve
in class LDAPEntry
UtilException
public java.lang.String getVersion(javax.naming.directory.DirContext ctx) throws UtilException
ctx
- - Directory ContextUtilException
CommunicationErrorException
- - an error occurrs while contacting LDAP serverpublic static java.lang.String[] getOracleContext(javax.naming.directory.DirContext ctx) throws UtilException
UtilException
CommunicationErrorException
- - an error occurrs while contacting LDAP serverpublic static java.lang.String[] getOracleContext(javax.naming.directory.DirContext ctx, java.lang.String baseDN) throws UtilException
ctx
- - Directory Context baseDN - DN where OracleContext is locatedUtilException
CommunicationErrorException
- - an error occurrs while contacting LDAP serverpublic boolean isUpToDate(javax.naming.directory.DirContext ctx) throws UtilException
ctx
- a valide DirContextUtilException
|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |