|
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.RegistrationDBObject
com.jcorporate.expresso.ext.dbobj.RegisteredUser
Extention to the normal user object to record some additional information
| 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 | |
RegisteredUser()
Constructor |
|
RegisteredUser(DBConnection myConnection)
Constructor |
|
RegisteredUser(int uid)
Use over (String) constructor. |
|
RegisteredUser(RequestContext request)
For using DBObjects within Controllers. |
|
| Method Summary | |
void |
add()
If the user is allowed to add, invoke the superclass add |
String |
getField(String fieldName)
Get the string value of a field in this object as a string |
Vector |
getValidValues(String fieldName)
New method to replace getValues with a structure of valid values and descriptions. |
void |
notify(String subject,
String message)
|
void |
setupFields()
Method to set up the fields for this database object. |
void |
update()
Updates the registered user |
| Methods inherited from class com.jcorporate.expresso.services.dbobj.RegistrationDBObject |
addAsUserListener, addedUser, deletedUser, loggedOffUser, loggedOnUser, modifiedUser |
| Methods inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
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 |
| 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 RegisteredUser()
throws DBException
public RegisteredUser(DBConnection myConnection)
throws DBException
myConnection - an already allocated DBConnection
public RegisteredUser(int uid)
throws DBException
uid - the Uid of the user context
DBException - if there's an initialization problem
public RegisteredUser(RequestContext request)
throws DBException
request - - The controller request handed to you by the framework.
DBException - upon error| Method Detail |
public void add()
throws DBException
SecuredDBObject
add in interface DataObjectadd in class SecuredDBObjectDBException
public String getField(String fieldName)
throws DBException
DBObject
getField in interface DataObjectgetField in class DBObjectfieldName - the name of the field to retrieve
DBException - upon error
public Vector getValidValues(String fieldName)
throws DBException
DBObject
getValidValues in class DBObjectfieldName - the name of the field to retrieve the valid values for
DBException - upon error
public void notify(String subject,
String message)
throws DBException
subject - subject of the email messagemessage - The message to send
DBException - upon error
public void setupFields()
throws DBException
DBObject
setupFields in class DBObjectDBException - upon errorDBObject.setupFields()
public void update()
throws DBException
update in interface DataObjectupdate in class SecuredDBObjectDBException - upon error
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||