|
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.OracleSchema
This class represents the Oracle Schema in the directory. It provides methods to handle the creation and upgrade of Oracle LDAP Schema. Currently this method is exposed to only OIDCA and should not be included as part of the Javadoc.
| Constructor Summary | |
OracleSchema(javax.naming.directory.DirContext ctx, java.lang.String ohome)Constructs an OracleSchema object |
|
OracleSchema(javax.naming.directory.DirContext ctx, java.lang.String ohome, java.io.PrintStream pStream)Constructs an OracleSchema object |
|
| Method Summary | |
void |
create()Creates Oracle Schema |
void |
create(java.lang.String product, java.lang.String schemaLoc)Creates decoupled schema |
boolean |
exists() |
java.lang.String |
getVersionFor(javax.naming.directory.DirContext ctx, java.lang.String product)Gets schema version for a particular product |
java.lang.String[][] |
getVersions() |
boolean |
isUpToDate(javax.naming.directory.DirContext ctx)Checks whether a schema is uptodate |
boolean |
isUpToDate(javax.naming.directory.DirContext ctx, java.lang.String product, java.lang.String schemaLoc)Checks whether a decoupled schema is uptodate |
void |
upgrade(javax.naming.directory.DirContext ctx) |
void |
upgrade(javax.naming.directory.DirContext ctx, java.lang.String product, java.lang.String schemaLoc)Upgrades schema for a particular product |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OracleSchema(javax.naming.directory.DirContext ctx,
java.lang.String ohome)
ctx - a valid DirContextohome - the absolute path of ORACLE_HOME
public OracleSchema(javax.naming.directory.DirContext ctx,
java.lang.String ohome,
java.io.PrintStream pStream)
ctx - a valid DirContextohome - the absolute path of ORACLE_HOME| Method Detail |
public void create()
throws UtilException
UtilException
public void create(java.lang.String product,
java.lang.String schemaLoc)
throws UtilException
product - the product for which schema is to be createdschemaLoc - location of schema creation filesUtilExceptionpublic boolean isUpToDate(javax.naming.directory.DirContext ctx)
ctx - a valid DirContext
public boolean isUpToDate(javax.naming.directory.DirContext ctx,
java.lang.String product,
java.lang.String schemaLoc)
ctx - a valid DirContextproduct - the product for which schema has to be checkedschemaLoc - Location where schema files are maintained
public java.lang.String getVersionFor(javax.naming.directory.DirContext ctx,
java.lang.String product)
throws UtilException
UtilExceptionpublic java.lang.String[][] getVersions()
public void upgrade(javax.naming.directory.DirContext ctx)
throws java.lang.Exception
java.lang.Exception
public void upgrade(javax.naming.directory.DirContext ctx,
java.lang.String product,
java.lang.String schemaLoc)
throws java.lang.Exception
java.lang.Exception
public boolean exists()
throws UtilException
UtilException
|
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 | |||||||||