|
Oracle Internet Directory API Reference 10g(10.1.4) B15992-01 |
|||||||||
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() |
|
OracleContext(javax.naming.directory.DirContext inCtx, java.lang.String inOrclCtxDN) Constructs an OracleContext specified by the input DN |
Method Summary | |
void |
create(javax.naming.directory.DirContext ctx, java.lang.String product, java.lang.String schemaLoc) Create product specific oraclecontext entries |
boolean |
exists(javax.naming.directory.DirContext ctx) Returns true if the Oracle Context exists |
PropertySetCollection |
getCommonProperties(javax.naming.directory.DirContext ctx, java.lang.String[] attrList) Returns the common properties of the Oracle Context. |
java.lang.String |
getDBCompatibilityVersion(javax.naming.directory.DirContext ctx) Returns the oldest database Version that is compatible with this version of the Oracle Context |
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 |
java.lang.String |
getVersion(javax.naming.directory.DirContext ctx, java.lang.String product) getVersion |
void |
refresh(javax.naming.directory.DirContext ctx) Refreshes cached elements in the OracleContext object. |
void |
resolve(javax.naming.directory.DirContext ctx) Resolves the OracleContext object by validating the DN. |
void |
resolve(javax.naming.directory.DirContext ctx, java.lang.String product) Resolve various property sets including product specific ones |
void |
upgrade(javax.naming.directory.DirContext ctx, java.lang.String product, java.lang.String schemaLoc) Upgrade |
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()
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 refresh(javax.naming.directory.DirContext ctx) throws UtilException
ctx
- a valid DirContextUtilException
public void resolve(javax.naming.directory.DirContext ctx) throws UtilException
resolve
in class LDAPEntry
UtilException
public void resolve(javax.naming.directory.DirContext ctx, java.lang.String product) throws UtilException
UtilException
public void create(javax.naming.directory.DirContext ctx, java.lang.String product, java.lang.String schemaLoc) throws UtilException
UtilException
public java.lang.String getVersion(javax.naming.directory.DirContext ctx) throws UtilException
ctx
- - Directory ContextUtilException
CommunicationErrorException
- - an error occurrs while contacting LDAP serverpublic java.lang.String getVersion(javax.naming.directory.DirContext ctx, java.lang.String product) throws UtilException
ctx
- - Directory Context product - Product for which version is being returnedUtilException
CommunicationErrorException
- - an error occurrs while contacting LDAP serverpublic java.lang.String getDBCompatibilityVersion(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 void upgrade(javax.naming.directory.DirContext ctx, java.lang.String product, java.lang.String schemaLoc) throws java.lang.Exception
ctx
- - Directory Context product - Product for which context is being upgraded schemaLoc - Location of schema filesjava.lang.Exception
public PropertySetCollection getCommonProperties(javax.naming.directory.DirContext ctx, java.lang.String[] attrList) throws UtilException
ctx
- a valid DirContextattrList
- the list of attributes to be returnedUtilException
CommunicationErrorException
- - an error occurrs while contacting LDAP server
|
Oracle Internet Directory API Reference 10g(10.1.4) B15992-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |