|
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
Whenever you create a DBObject to be used for Registration, you need to derive it from this class. What this does is make sure that the registration information is deleted when a User is deleted.
| 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 | |
RegistrationDBObject()
Constructor |
|
RegistrationDBObject(DBConnection myConnection)
Constructor |
|
RegistrationDBObject(DBConnection dbConnection,
String securityContext)
Constructor that sets a connection as the object is created - typically this is used when a particular DBConnection is required for the purposes of maintaining a database transaction. |
|
RegistrationDBObject(int uid)
Use over (String) constructor. |
|
RegistrationDBObject(RequestContext request)
For using DBObjects within Controllers. |
|
| Method Summary | |
protected static void |
addAsUserListener(UserListener ul)
|
void |
addedUser(User user)
This method is called just after a new user is added Creation date: (5/12/2001 2:26:17 PM) |
void |
deletedUser(User user)
Whenever a user is deleted, we must delete all of their registration records for security reasons. |
void |
loggedOffUser(User user)
This method is called just before a user is logged off Creation date: (5/12/2001 2:26:17 PM) |
void |
loggedOnUser(User user)
This method is called just after a user is logged on Creation date: (5/12/2001 2:26:17 PM) |
void |
modifiedUser(User user)
This method is called just after a user is modified Creation date: (5/12/2001 2:26:17 PM) |
| 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 |
| Constructor Detail |
public RegistrationDBObject()
throws DBException
DBException - on error
public RegistrationDBObject(DBConnection myConnection)
throws DBException
myConnection - The DBConnection retrieved from the ConnectionPool
public RegistrationDBObject(DBConnection dbConnection,
String securityContext)
throws DBException
This constructor is neceesary to work with otherDBMap and transaction capabilities
dbConnection - The DBConnection to utilizesecurityContext - The data context that contains the setup (and
security) tables for this object
DBException - upon initialization error
public RegistrationDBObject(int uid)
throws DBException
uid - the Uid of the user context
DBException - if there's an initialization problem
public RegistrationDBObject(RequestContext request)
throws DBException
request - - The controller request handed to you by the framework.| Method Detail |
public void deletedUser(User user)
throws DBException
deletedUser in interface UserListeneruser - the User that was deleted
DBExceptionprotected static void addAsUserListener(UserListener ul)
public void addedUser(User user)
throws DBException
UserListener
addedUser in interface UserListeneruser - com.jcorporate.expresso.core.security.User
DBException
public void loggedOffUser(User user)
throws DBException
UserListener
loggedOffUser in interface UserListeneruser - com.jcorporate.expresso.core.security.User
DBException
public void loggedOnUser(User user)
throws DBException
UserListener
loggedOnUser in interface UserListeneruser - com.jcorporate.expresso.core.security.User
DBException
public void modifiedUser(User user)
throws DBException
UserListener
modifiedUser in interface UserListeneruser - com.jcorporate.expresso.core.security.User
DBException
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||