Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jcorporate.expresso.services.controller.dbmaint
Class SearchList  view SearchList download SearchList.java

java.lang.Object
  extended bycom.jcorporate.expresso.core.controller.State
      extended bycom.jcorporate.expresso.services.controller.dbmaint.DynamicCmd
          extended bycom.jcorporate.expresso.services.controller.dbmaint.ListBase
              extended bycom.jcorporate.expresso.services.controller.dbmaint.SearchList
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class SearchList
extends ListBase

Processes the data passed via a standard form from SEARCH. This class requires a match on all specified fields of a DBObject for a successful outcome. SEARCHsearch can be extended to enabling a more restrictive search on only one or two fields e.g. a foreign key field

Version:
$Revision: 1.17 $ $Date: 2004/11/17 20:48:17 $

Field Summary
private static org.apache.log4j.Logger log
           
 
Fields inherited from class com.jcorporate.expresso.services.controller.dbmaint.ListBase
 
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
SearchList()
           
SearchList(java.lang.String code, java.lang.String descrip)
          Constructor
 
Method Summary
 void run(com.jcorporate.expresso.core.controller.ControllerRequest req, com.jcorporate.expresso.core.controller.ControllerResponse res)
          Perform the actions of this state.
 
Methods inherited from class com.jcorporate.expresso.services.controller.dbmaint.ListBase
addRecordsToBlock, generatePageTransitions, getRecordPaginator, getSortKey, listRecords, setupListSearchCriteria, showList
 
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 com.jcorporate.expresso.core.controller.State
add, addAutoInput, addAutoInput, addAutoInput, addBlock, addError, addInput, addOptionalParameter, addOutput, addParameter, addParameter, addParameter, addRequiredParameter, addTransition, autoValidate, autoValidate, calculateHandlerName, checkMask, checkParamMasks, clearFormCache, clone, equals, getAttribute, getController, getControllerRequest, getControllerResponse, getDataContext, getDBController, getDBName, getDescription, getErrors, getErrorState, getErrorTransition, getFileName, getFormCache, getHandlerName, getInitParameter, getName, getObjectParameter, getOptionalParameters, getOptionalParametersList, getParameter, getParameters, getPatternMatcher, getRequiredParametersList, getResponse, getReturnToSender, getSession, getStateFormClass, getString, getString, getSuccessTransition, getUid, getUser, hashCode, isFileParameter, isParameter, isSecure, perform, saveErrors, setController, setDescription, setErrorState, setErrorTransition, setFormCache, setHandlerName, setMask, setMask, setMaskError, setName, setResponse, setReturnToSender, setSecure, setStateFormClass, setSuccessTransition, toString, transition
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log
Constructor Detail

SearchList

public SearchList()

SearchList

public SearchList(java.lang.String code,
                  java.lang.String descrip)
Constructor

Method Detail

run

public void run(com.jcorporate.expresso.core.controller.ControllerRequest req,
                com.jcorporate.expresso.core.controller.ControllerResponse res)
         throws com.jcorporate.expresso.core.controller.NonHandleableException,
                com.jcorporate.expresso.core.controller.ControllerException
Perform the actions of this state.

Overrides:
run in class DynamicCmd