|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ldap.util.OracleSchema
public class 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.
Field Summary | |
---|---|
protected java.lang.String |
ohome |
protected java.lang.String |
orclSchemaVersion |
protected java.io.PrintStream |
pStream |
Constructor Summary | |
---|---|
OracleSchema(javax.naming.directory.DirContext ctx, java.util.logging.Logger lgr, java.lang.String ohome) Constructs an OracleSchema object |
|
OracleSchema(javax.naming.directory.DirContext ctx, java.util.logging.Logger lgr, java.lang.String ohome, java.io.PrintStream pStream) Constructs an OracleSchema object |
|
OracleSchema(javax.naming.directory.DirContext ctx, java.lang.String ohome) |
|
OracleSchema(javax.naming.directory.DirContext ctx, java.lang.String ohome, java.io.PrintStream pStream) |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String ohome
protected java.io.PrintStream pStream
protected java.lang.String orclSchemaVersion
Constructor Detail |
---|
public OracleSchema(javax.naming.directory.DirContext ctx, java.util.logging.Logger lgr, java.lang.String ohome)
ctx
- a valid DirContextohome
- the absolute path of ORACLE_HOMEpublic OracleSchema(javax.naming.directory.DirContext ctx, java.lang.String ohome)
public OracleSchema(javax.naming.directory.DirContext ctx, java.util.logging.Logger lgr, java.lang.String ohome, java.io.PrintStream pStream)
ctx
- a valid DirContextohome
- the absolute path of ORACLE_HOMEpublic OracleSchema(javax.naming.directory.DirContext ctx, java.lang.String ohome, java.io.PrintStream pStream)
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 filesUtilException
public boolean isUpToDate(javax.naming.directory.DirContext ctx)
ctx
- a valid DirContextpublic 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 maintainedpublic java.lang.String getVersionFor(javax.naming.directory.DirContext ctx, java.lang.String product) throws UtilException
UtilException
public 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 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |