|
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.RegistrationDomain
A registration domain defines a registration context. A DB context can have multiple registration contexts. Each context defines a controller that takes care of registration for that context. Each context also defines whether the extended registration beyond that provided by the User object is required for the domain or not. The map of registration objects per registration domain is provided by the RegistrationObjectMap class. Creation date: (5/15/2001 12:26:11 PM)
| Nested Class Summary |
| Nested classes inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
DBObject.FieldError, DBObject.FieldUpdate |
| Field Summary |
| Fields inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
ADD, ALL_FUNCTIONS, CACHE_NAME, CACHE_TTY, 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 | |
RegistrationDomain()
Default constructor |
|
RegistrationDomain(int uid)
Use over (String) constructor. |
|
RegistrationDomain(RequestContext request)
For using DBObjects within Controllers. |
|
| Method Summary | |
void |
add()
Extends the usual add method to check for duplicate entires and to provide an unique id |
static RegistrationDomain |
buildDefaultRegistrationDomain(String dbContext)
Returns the default registration domain. |
protected void |
checkAllRefs()
Extends the checkAllRefs method to check for valid UserGroup or if referential integrity is violated |
void |
delete()
Extends the usual delete method to delete associated registration object entries |
Controller |
getRegistrationObject()
Instantiates the controller based upon the current Controller Value |
Vector |
getValidValues(String fieldName)
Override the method getValidValues to provide specific values for our multi-valued fields |
Vector |
getValues()
Method to return a Vector of ValidValue Template method--not implemented in this superclass. |
protected void |
setupFields()
Method to set up the fields for this database object. |
void |
update()
Extends the usual update method to check for duplicate entries |
| Methods inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
canRequesterAdd, canRequesterDelete, canRequesterRead, canRequesterUpdate, checkAllowed, copyAttributes, count, createSecurityCache, deleteAll, find, getRequestingUid, getString, getString, getString, getString, getString, getString, getSystemUid, instantiate, isAllowed, retrieve, search, searchAndRetrieveList, searchAndRetrieveList, setRequestingUid |
| 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 |
| Constructor Detail |
public RegistrationDomain()
throws DBException
DBException - The exception description.
public RegistrationDomain(int uid)
throws DBException
uid - the Uid of the user context
DBException - if there's an initialization problem
public RegistrationDomain(RequestContext request)
throws DBException
request - - The controller request handed to you by the framework.
DBException - upon initialization error| Method Detail |
public Vector getValidValues(String fieldName)
throws DBException
getValidValues in class DBObjectfieldName - Field name for which values are requested
DBException - If the values cannot be retrieved
public Vector getValues()
throws DBException
DBObject
getValues in interface LookupInterfacegetValues in class DBObjectDBException - upon error.DBObject.getValidValues(java.lang.String)
public void add()
throws DBException
add in interface DataObjectadd in class SecuredDBObjectDBException - If the next number could not be allocated or the add
failsSecuredDBObject.add()
public static RegistrationDomain buildDefaultRegistrationDomain(String dbContext)
throws DBException
dbContext - the database context name
DBException - upon construction failure
public Controller getRegistrationObject()
throws DBException
DBException - upon error
public void delete()
throws DBException
delete in interface DataObjectdelete in class SecuredDBObjectDBException - If the next number
could not be allocated or the add failsSecuredDBObject.delete()
public void update()
throws DBException
update in interface DataObjectupdate in class SecuredDBObjectDBException - If the next number could not be allocated or the add
fails
protected void checkAllRefs()
throws DBException
checkAllRefs in class DBObjectDBException - If there is a problem checking the integrity
protected 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 | ||||||||||