|
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.Search
allows the user to search for a record. This class requires a match on all supplied fields of a DBObject. Search can be extended to allow a search on one or more fields e.g. a foreign key field
| 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 | |
Search()
|
|
Search(String code,
String descrip)
Constructor |
|
| Method Summary | |
protected void |
autoField(String oneFieldName)
implemented by subclass |
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 Search()
public Search(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
GetBase
autoField in class GetBaseoneFieldName - The name of the field
DBException - If a problem occurs getting field info from the
database object
ControllerException - upon other errors
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 | ||||||||||