| com.jcorporate.expresso.core.dbobj.Schema com.jcorporate.expresso.core.ExpressoSchema
ExpressoSchema | final public class ExpressoSchema extends Schema (Code) | | Standard Schema
object for the Expresso framework. It provides 'tie ins' for all the
classes within the framework. You use your own Schema derived from
com.jcorporate.expresso.core.dbobj.Schema when creating your
own application
author: Michael Nash since: Expresso 1.0 |
constructControllers | protected void constructControllers()(Code) | | Adds the appropriate controllers to the schema
|
constructDBObjects | protected void constructDBObjects()(Code) | | Adds all the Expresso DbObjects
|
constructSetupValues | protected void constructSetupValues() throws DBException(Code) | | Adds the setup values for this schema to the schema's definition
throws: DBException - upon database access error |
getDefaultComponentCode | public String getDefaultComponentCode()(Code) | | Returns the default component code for this schema. Useful for automated
component testing/installation
the component code string. In this case there is no componentcode so it returns an empty string. |
getDefaultDescription | public String getDefaultDescription()(Code) | | Returns the default description for this schema. Useful for automated
component testing/installation
the name of the schema |
getMessageBundlePath | public String getMessageBundlePath()(Code) | | Returns the path to the messages bundle property file
the path to the messages bundle |
getVersion | public String getVersion()(Code) | | Gets the current version of this Framework
the current version in string format |
Methods inherited from com.jcorporate.expresso.core.dbobj.Schema | public synchronized void add(Job oneJob) throws DBException(Code)(Java Doc) public synchronized void add(String schemaClass, String setupCode, String descrip, String defaultValue) throws DBException(Code)(Java Doc) protected synchronized void addController(String controllerName)(Code)(Java Doc) protected synchronized void addController(Class c)(Code)(Java Doc) protected synchronized void addController(String controllerName, String categoryName)(Code)(Java Doc) protected synchronized void addController(Class c, String categoryName)(Code)(Java Doc) protected synchronized void addDBObject(String dbobjectClass)(Code)(Java Doc) protected synchronized void addDBObject(Class c, String categoryName)(Code)(Java Doc) protected synchronized void addDBObject(Class c)(Code)(Java Doc) protected synchronized void addDBObject(String dbobjectClass, String otherDBName)(Code)(Java Doc) protected synchronized void addDBObject(String dbobjectClass, String otherDBName, String categoryName)(Code)(Java Doc) protected synchronized void addJob(Class c)(Code)(Java Doc) public synchronized void addReportPage(Class reportClass)(Code)(Java Doc) public synchronized void addReportPage(String reportClassName)(Code)(Java Doc) protected synchronized void addServlet(Class c)(Code)(Java Doc) public synchronized void addSetup(String schemaClass, String setupCode, String descrip, String defaultValue) throws DBException(Code)(Java Doc) public synchronized void addSetup(String setupCode, String descrip, String defaultValue) throws DBException(Code)(Java Doc) public void configure(Configuration newConfig) throws ConfigurationException(Code)(Java Doc) public boolean contains(DBObject dbObject)(Code)(Java Doc) public void destroy()(Code)(Java Doc) public synchronized Vector getConfig()(Code)(Java Doc) public java.util.List getControllerList()(Code)(Java Doc) public synchronized String getDBName()(Code)(Java Doc) public Hashtable getDBObjMap()(Code)(Java Doc) public synchronized String getDataContext()(Code)(Java Doc) public String getDefaultComponentCode()(Code)(Java Doc) public String getDefaultDescription()(Code)(Java Doc) public static Schema getInstance()(Code)(Java Doc) public Enumeration getJobs()(Code)(Java Doc) public Controller getLoginController() throws ControllerException(Code)(Java Doc) public Enumeration getMembers()(Code)(Java Doc) public String getMessageBundlePath()(Code)(Java Doc) public URL getMetadataLocation()(Code)(Java Doc) public Controller getRegistrationController() throws ControllerException(Code)(Java Doc) public synchronized Vector getReports()(Code)(Java Doc) public int getRequestingUser()(Code)(Java Doc) public Enumeration getServlets()(Code)(Java Doc) protected String getSetupDefault(String paramName, String defaultValue)(Code)(Java Doc) public String getSetupValue(String key)(Code)(Java Doc) public Controller getStartController()(Code)(Java Doc) protected String getString(String stringCode)(Code)(Java Doc) public Enumeration getTests()(Code)(Java Doc) public String getVersion()(Code)(Java Doc) public void initialize()(Code)(Java Doc) public static Schema instantiate(String className) throws DBException(Code)(Java Doc) public synchronized void otherSetup(InstallLog installLog, String dataContext) throws DBException(Code)(Java Doc) public synchronized void otherSetup(String dbName) throws DBException(Code)(Java Doc) public synchronized void populateSchemaData(String dbName) throws DBException(Code)(Java Doc) public void reconfigure(Configuration newConfig) throws ConfigurationException(Code)(Java Doc) protected void requiresVersion(String versionString, String schemaClassName) throws DBException(Code)(Java Doc) public synchronized void setDBName(String newOther) throws DBException(Code)(Java Doc) public synchronized void setDataContext(String newOther) throws DBException(Code)(Java Doc) public void setRequestingUser(int uid)(Code)(Java Doc) public void setSetupValue(String key, String value)(Code)(Java Doc) public synchronized void setupDefaultValues(String dbName)(Code)(Java Doc) public synchronized void setupDefaultValuesWithException(String dbName) throws DBException(Code)(Java Doc)
|
|
|