|
|||||||||
| Home >> All >> com >> jcorporate >> expresso >> ext >> dbobj >> [ regobj overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.jcorporate.expresso.ext.dbobj.regobj
Class Phone

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.regobj.Phone
- All Implemented Interfaces:
- com.jcorporate.expresso.core.cache.Cacheable, com.jcorporate.expresso.core.dataobjects.ContextNested, com.jcorporate.expresso.core.dataobjects.DataObject, com.jcorporate.expresso.core.dbobj.LookupInterface, com.jcorporate.expresso.core.dataobjects.Securable, java.io.Serializable, com.jcorporate.expresso.core.security.UserListener
- public class Phone
- extends com.jcorporate.expresso.services.dbobj.RegistrationDBObject
Creation date: 2001-08-24 11:57:54
| Nested Class Summary |
| Nested classes inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
com.jcorporate.expresso.core.dbobj.DBObject.FieldError, com.jcorporate.expresso.core.dbobj.DBObject.FieldUpdate |
| Field Summary | |
static java.lang.String |
FLD_NUMBER
|
static java.lang.String |
FLD_TYPE
|
| Fields inherited from class com.jcorporate.expresso.services.dbobj.RegistrationDBObject |
|
| 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 | |
Phone()
Constructor |
|
Phone(com.jcorporate.expresso.core.db.DBConnection myConnection)
Constructor |
|
Phone(int uid)
Use over (String) constructor. |
|
Phone(com.jcorporate.expresso.core.dbobj.RequestContext request)
For using DBObjects within Controllers. |
|
| Method Summary | |
void |
add()
If the user is allowed to add, invoke the superclass add |
java.util.Vector |
getValidValues(java.lang.String fieldName)
New method to replace getValues with a structure of valid values and descriptions. |
void |
setupFields()
Method to set up the fields for this database object. |
void |
update()
Update the database with the new info |
| 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 |
| Field Detail |
FLD_TYPE
public static final java.lang.String FLD_TYPE
- See Also:
- Constant Field Values
FLD_NUMBER
public static final java.lang.String FLD_NUMBER
- See Also:
- Constant Field Values
| Constructor Detail |
Phone
public Phone()
throws com.jcorporate.expresso.core.db.DBException
- Constructor
Phone
public Phone(com.jcorporate.expresso.core.db.DBConnection myConnection) throws com.jcorporate.expresso.core.db.DBException
- Constructor
Phone
public Phone(int uid)
throws com.jcorporate.expresso.core.db.DBException
- Use over (String) constructor. Initializes the object in the context
of the user who's uid belongs to the parameter.
Phone
public Phone(com.jcorporate.expresso.core.dbobj.RequestContext request) throws com.jcorporate.expresso.core.db.DBException
- For using DBObjects within Controllers. Initializes based upon the current
user and the requested db. [Of course this can be modified later]
| Method Detail |
add
public void add()
throws com.jcorporate.expresso.core.db.DBException
- Description copied from class:
com.jcorporate.expresso.core.dbobj.SecuredDBObject - If the user is allowed to add, invoke the superclass add
getValidValues
public java.util.Vector getValidValues(java.lang.String fieldName) throws com.jcorporate.expresso.core.db.DBException
- Description copied from class:
com.jcorporate.expresso.core.dbobj.DBObject - New method to replace getValues with a structure of valid values
and descriptions. Database objects should extend this method to
return Vectors of ValidValue objects for multi-valued fields. A
specific object can return it's own list of ValidValues, or it
can call this super method to use the lookup object to get the
list of valid values instead.
setupFields
public void setupFields()
throws com.jcorporate.expresso.core.db.DBException
- Description copied from class:
com.jcorporate.expresso.core.dbobj.DBObject - 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. Each setupFields method should call "super.setupFields()"
so that field definitions can be "inheritcable"
update
public void update()
throws com.jcorporate.expresso.core.db.DBException
- Description copied from class:
com.jcorporate.expresso.core.dbobj.SecuredDBObject - Update the database with the new info
|
|||||||||
| Home >> All >> com >> jcorporate >> expresso >> ext >> dbobj >> [ regobj overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC