| |
|
| com.jcorporate.expresso.core.dbobj.SecuredDBObject com.jcorporate.expresso.services.dbobj.RegistrationDomain
RegistrationDomain | public class RegistrationDomain extends SecuredDBObject (Code) | | 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)
author: Shash Chatterjee |
RegistrationDomain | public RegistrationDomain(int uid) throws DBException(Code) | | Use over (String) constructor. Initializes the object in the context of
the user who's uid belongs to the parameter.
Parameters: uid - the Uid of the user context throws: DBException - if there's an initialization problem |
RegistrationDomain | public RegistrationDomain(RequestContext request) throws DBException(Code) | | For using DBObjects within Controllers. Initializes based upon the
current user and the requested db. [Of course this can be modified
later]
Parameters: request - - The controller request handed to you by the framework. throws: DBException - upon initialization error |
buildDefaultRegistrationDomain | public static RegistrationDomain buildDefaultRegistrationDomain(String dbContext) throws DBException(Code) | | Returns the default registration domain. Factory Method that is often
called by a LoginController for self-registered users.
Parameters: dbContext - the database context name Registration domain object throws: DBException - upon construction failure |
checkAllRefs | protected void checkAllRefs() throws DBException(Code) | | Extends the checkAllRefs method to check for valid UserGroup or if
referential integrity is violated
throws: DBException - If there is a problem checking the integrity |
getRegistrationObject | public Controller getRegistrationObject() throws DBException(Code) | | Instantiates the controller based upon the current Controller Value
Controller instance that performs registration throws: DBException - upon error |
getValidValues | public Vector getValidValues(String fieldName) throws DBException(Code) | | Override the method getValidValues to provide specific values for our
multi-valued fields
Parameters: fieldName - Field name for which values are requested Vector The ValidValues field throws: DBException - If the values cannot be retrieved |
setupFields | protected void setupFields() throws DBException(Code) | | Method to set up the fields for this database object. This method should
be defined in the implementing object and should make calls to
addField, addKey, setMultiValued, etc. as required to define the
content of the DBObject
throws: DBException - If there is an error setting up the fields asrequested. For example, if a field allowing null is requestedas part of the key |
Methods inherited from com.jcorporate.expresso.core.dbobj.SecuredDBObject | public void add() throws DBException(Code)(Java Doc) public boolean canRequesterAdd() throws DBException(Code)(Java Doc) public boolean canRequesterDelete() throws DBException(Code)(Java Doc) public boolean canRequesterRead() throws DBException(Code)(Java Doc) public boolean canRequesterUpdate() throws DBException(Code)(Java Doc) public boolean checkAllowed(String requestedFunction) throws DBException(Code)(Java Doc) public void copyAttributes(DBObject returnObj) throws DBException(Code)(Java Doc) public synchronized int count() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc) protected synchronized void createSecurityCache() throws CacheException(Code)(Java Doc) public void delete() throws DBException(Code)(Java Doc) public synchronized void deleteAll() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc) public boolean find() throws DBException(Code)(Java Doc) public int getRequestingUid()(Code)(Java Doc) protected String getString(String stringCode, Object[] args) throws DBException(Code)(Java Doc) protected String getString(String stringCode) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3, String arg4) throws DBException(Code)(Java Doc) public int getSystemUid()(Code)(Java Doc) public static SecuredDBObject instantiate(String className) throws DBException(Code)(Java Doc) public void isAllowed(String requestedFunction) throws SecurityException, DBException(Code)(Java Doc) public void retrieve() throws DBException(Code)(Java Doc) public synchronized void search() throws DBException(Code)(Java Doc) public synchronized ArrayList searchAndRetrieveList() throws DBException(Code)(Java Doc) public synchronized ArrayList searchAndRetrieveList(String sortKeys) throws DBException(Code)(Java Doc) public void setRequestingUid(int newUid)(Code)(Java Doc) public void update() throws DBException(Code)(Java Doc)
|
|
|
|