|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.dataobjects.BaseDataObject
com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject
com.jcorporate.expresso.core.dbobj.DBObject
com.jcorporate.expresso.core.dbobj.SecuredDBObject
com.jcorporate.expresso.services.dbobj.SchemaList
Schema list The schema list object lists the individual Schema classes for each application installed at this site. These schemas, in turn, contain information about the tables/database object required for each application.
| Nested Class Summary |
| Nested classes inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
DBObject.FieldError, DBObject.FieldUpdate |
| Field Summary | |
static String |
FLD_COMPONENT_CODE
Field name for 'component code' |
static String |
FLD_DESCRIP
Field name for the schema description |
static String |
FLD_SCHEMA_CLASS
Field name for the schema class |
static String |
FLD_VERSION_NUMBER
Field name for virtual field component code. |
| Fields inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
ADD, ALL_FUNCTIONS, CACHE_NAME, DELETE, SEARCH, SYSTEM_ACCOUNT, SYSTEM_ACCOUNT_NAME, UPDATE |
| Fields inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
ATTRIBUTE_ERROR, ATTRIBUTE_ERROR_MESSAGE, ATTRIBUTE_PAGE_LIMIT, BIG_DECIMAL_ZERO, EMAIL_MASK, EVENT_ADD, EVENT_DELETE, EVENT_UPDATE, FLOAT_MASK, INT_MASK, IS_CHECK_RELATIONAL_INTEGRITY, UPDATE_CHANGED_ONLY, WHERE_KEYWORD |
| Fields inherited from class com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject |
anyFieldsDistinct, anyFieldsToRetrieve, appendCustomWhere, caseSensitiveQuery, customWhereClause, dbKey, distinctFields, localConnection, LONGBINARY_READ_DEFAULT_SIZE, maxRecords, myClassName, myUpdates, offsetRecord, recordSet, retrieveFields, sMetadataMap, sortKeys |
| Fields inherited from class com.jcorporate.expresso.core.dataobjects.BaseDataObject |
currentStatus, globalMask |
| Fields inherited from interface com.jcorporate.expresso.core.dataobjects.DataObject |
STATUS_CURRENT, STATUS_DELETED, STATUS_NEW, STATUS_UPDATED |
| Constructor Summary | |
SchemaList()
Constructor |
|
SchemaList(int uid)
Use over (String) constructor. |
|
SchemaList(RequestContext request)
For using DBObjects within Controllers. |
|
| Method Summary | |
String |
getField(String fieldName)
Used to deal with the virtual field VersionNumber. |
Vector |
getValues()
Get a vector of valid values mapping Schema Classes to Schema Descriptions |
void |
setupFields()
Sets up the Schema List fields |
| Methods inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
add, canRequesterAdd, canRequesterDelete, canRequesterRead, canRequesterUpdate, checkAllowed, copyAttributes, count, createSecurityCache, delete, deleteAll, find, getRequestingUid, getString, getString, getString, getString, getString, getString, getSystemUid, instantiate, isAllowed, retrieve, search, searchAndRetrieveList, searchAndRetrieveList, setRequestingUid, update |
| Methods inherited from class com.jcorporate.expresso.core.dataobjects.BaseDataObject |
getGlobalMask, getStatus, isGlobalMasked, setFieldsWithDefaults, setGlobalMask, setStatus |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String FLD_SCHEMA_CLASS
public static final String FLD_DESCRIP
public static final String FLD_COMPONENT_CODE
public static final String FLD_VERSION_NUMBER
| Constructor Detail |
public SchemaList()
throws DBException
public SchemaList(int uid)
throws DBException
uid - the Uid of the user context
DBException - if there's an initialization problem
public SchemaList(RequestContext request)
throws DBException
request - - The controller request handed to you by the framework.
DBException - upon construction error| Method Detail |
public Vector getValues()
throws DBException
getValues in interface LookupInterfacegetValues in class DBObjectDBException - upon retrieval errorDBObject.getValidValues(java.lang.String)
public String getField(String fieldName)
throws DBException
getField in interface DataObjectgetField in class DBObjectfieldName - The name of the field to retrieve
DBException - upon error
public void setupFields()
throws DBException
setupFields in class DBObjectDBException - If there is an error setting up the fields
as requested. For example, if a field allowing null is requested
as part of the key
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||