|
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.controller.State
com.jcorporate.expresso.services.controller.dbmaint.DynamicCmd
com.jcorporate.expresso.services.controller.dbmaint.GetBase
com.jcorporate.expresso.services.controller.dbmaint.Update
Provides a standard form for user to update all fields (except primary key). Extend this class if only updating one or several but not all fields.
| Field Summary |
| Fields inherited from class com.jcorporate.expresso.services.controller.dbmaint.DynamicCmd |
countTotalRecords, masterObjKey, showNext, showPrev |
| Fields inherited from class com.jcorporate.expresso.core.controller.State |
NOTEMPTY_MASK, secure |
| Constructor Summary | |
Update()
|
|
Update(String code,
String descrip)
Constructor |
|
| Method Summary | |
protected void |
autoField(String oneFieldName)
Create an input for one field specified by the field name. |
void |
run(ControllerRequest req,
ControllerResponse res)
Perform the actions of this state. |
| Methods inherited from class com.jcorporate.expresso.services.controller.dbmaint.GetBase |
addLookupTransition, displayValue, showForm |
| Methods inherited from class com.jcorporate.expresso.services.controller.dbmaint.DynamicCmd |
addParams, decode, getControllerName, getCurrentDBObj, getDataObject, getFieldsParam, getFixedFields, getKeyParameter, getMyDataObject, getPageNumber, getSearchParam, initializeDBObj, isKeyField, retrieveMyDBObject, setFields, setFieldsParam, setMyDataObject, setSearchParam, showBlobViewLink, showEditLink, showEditLink, showOptions, showUserName |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Update()
public Update(String code,
String descrip)
code - The name of the state.descrip - The friendly name of the state| Method Detail |
protected void autoField(String oneFieldName)
throws DBException,
ControllerException
autoField in class GetBaseoneFieldName - The name of the field
DBException - If a problem occurs getting field info from the
database object
ControllerException - upon other errorsGetBase
public void run(ControllerRequest req,
ControllerResponse res)
throws NonHandleableException,
ControllerException
run in class DynamicCmdreq - The ControllerRequest objectres - The ControllerResponse object
NonHandleableException - upon fatal error
ControllerException
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||