|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.component.Component
org.jaffa.components.finder.FinderComponent
This is the base class for all Finder components. It has the following properties - 1- displayResultsScreen : If set to true, then the Results screen will directly brought up, bypassing the Criteria screen. 2- sortDropDown : The sort criteria to use for the inquiry 3- exportType : The export option to use for the inquiry (initialized to regular Web Pages) 4- maxRecords: The maximum number of records to retrieve. All records will be retrieved, if no value is specified. 5- finderListener : The Listener object, which will refresh the Results screen, on a new inquiry 6- headerDto : This is a convenience property to pass to Tx, where required
| Field Summary | |
static String |
ATTRIBUTE_EXPORT_TYPE_XML
Deprecated. This request stream attribute is set by a FinderCriteriaForm, after a query, and if the exportType is XML. |
static String |
EXPORT_TYPE_EXCEL
Deprecated. A global constant for the Excel export option. |
static String |
EXPORT_TYPE_WEB_PAGE
Deprecated. A global constant for the Web Page export option. |
static String |
EXPORT_TYPE_XML
Deprecated. A global constant for the XML export option. |
| Constructor Summary | |
FinderComponent()
Deprecated. |
|
| Method Summary | |
protected void |
addSortCriteria(FinderInDto inputDto)
Deprecated. Interprets the value of the 'sortDropDown' property adding suitable values to the input Dto. |
Boolean |
getDisplayResultsScreen()
Deprecated. Getter for property displayResultsScreen. |
String |
getExportType()
Deprecated. Getter for property exportType. |
IFinderListener |
getFinderListener()
Deprecated. Getter for property finderListener. |
protected HeaderDto |
getHeaderDto()
Deprecated. Returns the HeaderDto. |
Integer |
getMaxRecords()
Deprecated. Getter for property maxRecords. |
String |
getSortDropDown()
Deprecated. Getter for property sortDropDown. |
void |
incrementMaxRecords()
Deprecated. This will set the property 'maxRecords' to the value following the current one, in the list of values returned by CriteriaDropDownOptions.getMaxRecordsDropDownOptions(). |
protected void |
invokeFinderListener()
Deprecated. Invokes the inquiryDone() method of the registered IFinderListener object in the same thread. |
protected void |
invokeFinderListener(EventObject eventObject)
Deprecated. Invokes the inquiryDone() method of the registered IFinderListener object in the same thread. |
void |
quit()
Deprecated. This clears the listener and then invokes the quit() method of the base class. |
void |
setDisplayResultsScreen(Boolean displayResultsScreen)
Deprecated. Setter for property displayResultsScreen. |
void |
setExportType(String exportType)
Deprecated. Setter for property exportType. |
void |
setFinderListener(IFinderListener finderListener)
Deprecated. Setter for property finderListener. |
void |
setMaxRecords(Integer maxRecords)
Deprecated. Setter for property maxRecords. |
void |
setSortDropDown(String sortDropDown)
Deprecated. Setter for property sortDropDown. |
| Methods inherited from class org.jaffa.presentation.portlet.component.Component |
addChildComponent, addFormKeyChangeListener, display, getComponentDefinition, getComponentId, getContainerFormKey, getFormKeyChangeListeners, getReturnToFormKey, getToken, getUserSession, isActive, quitAndReturnToCallingScreen, reflectAndSetParms, removeFormKeyChangeListener, returnChildComponents, returnLastActivityDate, run, setContainerFormKey, setReturnToFormKey, setToken, updateLastActivityDate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String EXPORT_TYPE_WEB_PAGE
public static final String EXPORT_TYPE_EXCEL
public static final String EXPORT_TYPE_XML
public static final String ATTRIBUTE_EXPORT_TYPE_XML
| Constructor Detail |
public FinderComponent()
| Method Detail |
public void quit()
quit in interface IComponentquit in class Componentpublic Boolean getDisplayResultsScreen()
public void setDisplayResultsScreen(Boolean displayResultsScreen)
displayResultsScreen - New value of property displayResultsScreen.public String getSortDropDown()
public void setSortDropDown(String sortDropDown)
sortDropDown - New value of property sortDropDown.public String getExportType()
public void setExportType(String exportType)
exportType - New value of property exportType.public Integer getMaxRecords()
public void setMaxRecords(Integer maxRecords)
maxRecords - New value of property maxRecords.public void incrementMaxRecords()
public IFinderListener getFinderListener()
public void setFinderListener(IFinderListener finderListener)
finderListener - New value of property finderListener.protected void invokeFinderListener()
protected void invokeFinderListener(EventObject eventObject)
eventObject - The EventObject which will probably contain the component itself.protected HeaderDto getHeaderDto()
protected void addSortCriteria(FinderInDto inputDto)
inputDto - The Dto to which the orderby fields will be added.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||