Package com.portal.app.comp
Class PIASearchResultsBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PFieldControllerBean
com.portal.bas.comp.PIASpecSpreadSheetBeanImpl
com.portal.app.comp.PIASearchResultsBeanImpl
- All Implemented Interfaces:
PSearchResultsListener
,PIASpecSpreadSheetBean
,PControllerBean
,PFieldBean
,Serializable
,Remote
,Unreferenced
,EventListener
public class PIASearchResultsBeanImpl
extends PIASpecSpreadSheetBeanImpl
implements PSearchResultsListener
- Version:
- %version: 6 % %date_modified: Wed Sep 12 10:31:47 2001 %
- Author:
- larrylf
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefault implementation for getting a remote listener (it returns null).getSelectionDataFor
(String dataItem, int index) Override of PIASpreadSheetBeanImpl's method in order to keep track of the model handle associated with the selected row in the view.void
Search results.void
setModel
(PModelHandle model) Override to remove the old model from the cache after adopting the new model.Methods inherited from class com.portal.bas.comp.PIASpecSpreadSheetBeanImpl
getRegion, getRegion, getTable, revertToPrimary, setColumnDisplayDescription, setColumnModelDescription, setData, setUntypedData, toggleCurrency, toggleCurrency, update
Methods inherited from class com.portal.bas.PFieldControllerBean
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, unreferenced
-
Constructor Details
-
PIASearchResultsBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
setModel
Override to remove the old model from the cache after adopting the new model. It calls super's method.- Specified by:
setModel
in interfacePControllerBean
- Overrides:
setModel
in classPControllerImpl
- Parameters:
model
- The model handle to be set.- Throws:
RemoteException
-
getSelectionDataFor
Override of PIASpreadSheetBeanImpl's method in order to keep track of the model handle associated with the selected row in the view. It calls super's method to do the actual work.- Specified by:
getSelectionDataFor
in interfacePControllerBean
- Overrides:
getSelectionDataFor
in classPIASpecSpreadSheetBeanImpl
- Parameters:
dataItem
- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent
.index
- an optional index into an array data item- Returns:
- Usually, a model handle or array of model handles.
- Throws:
RemoteException
- thrown for errors
-
results
Description copied from interface:PSearchResultsListener
Search results.- Specified by:
results
in interfacePSearchResultsListener
- Parameters:
e
- SearchResultsEvent
-
getRemoteListenerHandle
Description copied from class:PControllerImpl
Default implementation for getting a remote listener (it returns null).- Specified by:
getRemoteListenerHandle
in interfacePControllerBean
- Overrides:
getRemoteListenerHandle
in classPControllerImpl
- Parameters:
type
- the type of remote listener to get- Returns:
- A handle to a remote listener object.
- Throws:
RemoteException
- thrown for errors
-