|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.ComponentBase
com.jcorporate.expresso.kernel.ContainerComponentBase
com.jcorporate.expresso.core.dbobj.Schema
com.sri.common.ComponentSchema
com.sri.emo.EmoSchema
public class EmoSchema
Register the Schemas for entire web application. This schema tells Expresso what database table objects need to be generated or check when the schema is read for the first time.
| Field Summary | |
|---|---|
static String |
EMO_GROUP
|
static String[] |
REMOVED_REG_FIELDS
|
static String |
TREEVIEW_NESTING_LIMIT
name of setup value for how many levels deep a tree fetches by default |
| Constructor Summary | |
|---|---|
EmoSchema()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
addSetupValues(InstallLog theLog,
String dbName)
Add specific setup values. |
String |
getDefaultComponentCode()
Returns the default component code for this schema. |
String |
getDefaultDescription()
Returns the default description for this schema. |
String |
getMessageBundlePath()
Return the path, relative to the classpath, of the MessageBundle file for this schema. |
String |
getVersion()
Method to return the current version number of an application Schema. |
WizardRepository |
getWizardRepository(String dataContext)
Return an instance of the WizardRepository to retrieve what you need. |
org.picocontainer.PicoContainer |
initializeApplicationContainer()
Initialize the application container. |
void |
otherSetup(InstallLog theLog,
String dbName)
Perform any additional setup/intialize functions required by this schema. |
protected void |
setDefaultReadWriteGroups(String dbName)
|
| Methods inherited from class com.sri.common.ComponentSchema |
|---|
addAllSchemaElementsToContainer, getApplicationContainer, locate, setApplicationContainer |
| Methods inherited from class com.jcorporate.expresso.core.dbobj.Schema |
|---|
add, add, addController, addController, addController, addController, addDBObject, addDBObject, addDBObject, addDBObject, addDBObject, addJob, addReportPage, addReportPage, addServlet, addSetup, addSetup, configure, contains, destroy, getConfig, getControllerList, getDataContext, getDBName, getDBObjMap, getInstance, getJobs, getLoginController, getMembers, getMetadataLocation, getRegistrationController, getReports, getRequestingUser, getServlets, getSetupDefault, getSetupValue, getStartController, getString, getTests, initialize, instantiate, otherSetup, populateSchemaData, reconfigure, requiresVersion, setDataContext, setDBName, setRequestingUser, setSetupValue, setupDefaultValues, setupDefaultValuesWithException |
| Methods inherited from class com.jcorporate.expresso.kernel.ContainerComponentBase |
|---|
getContainerImplementation, locateComponent, setContainerImplementation |
| Methods inherited from class com.jcorporate.expresso.kernel.ComponentBase |
|---|
getMetaData, getParent, setMetaData, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jcorporate.expresso.kernel.ExpressoComponent |
|---|
getMetaData, getParent, setParent |
| Field Detail |
|---|
public static final String EMO_GROUP
public static final String[] REMOVED_REG_FIELDS
public static final String TREEVIEW_NESTING_LIMIT
| Constructor Detail |
|---|
public EmoSchema()
throws DBException
DBException| Method Detail |
|---|
public String getMessageBundlePath()
getMessageBundlePath in class Schemapublic String getDefaultDescription()
getDefaultDescription in class Schemapublic String getDefaultComponentCode()
getDefaultComponentCode in class Schema
public void otherSetup(InstallLog theLog,
String dbName)
throws DBException
otherSetup in class SchematheLog - The installation logdbName - The database context to execute this process against.
DBException - If there's a database communication error
protected void addSetupValues(InstallLog theLog,
String dbName)
throws DBException
theLog - InstallLog the installation log.dbName - String the database name.
DBException - upon error.
protected void setDefaultReadWriteGroups(String dbName)
throws DBException
DBExceptionpublic WizardRepository getWizardRepository(String dataContext)
dataContext - the data context to retrieve for.
public String getVersion()
getVersion in class Schemapublic org.picocontainer.PicoContainer initializeApplicationContainer()
initializeApplicationContainer in interface ComponentSPIinitializeApplicationContainer in class ComponentSchema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||