public class PIASearchResultsBeanImpl extends PIASpecSpreadSheetBeanImpl implements PSearchResultsListener
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PIASearchResultsBeanImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
getRemoteListenerHandle(String type)
Default implementation for getting a remote listener (it returns null).
|
Object |
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 |
results(PSearchResultsEvent e)
Search results.
|
void |
setModel(PModelHandle model)
Override to remove the old model from the cache after adopting the new
model.
|
getRegion, getRegion, getTable, revertToPrimary, setColumnDisplayDescription, setColumnModelDescription, setData, setUntypedData, toggleCurrency, toggleCurrency, update
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
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
public PIASearchResultsBeanImpl() throws RemoteException
RemoteException
public void setModel(PModelHandle model) throws RemoteException
setModel
in interface PControllerBean
setModel
in class PControllerImpl
model
- The model handle to be set.RemoteException
public Object getSelectionDataFor(String dataItem, int index) throws RemoteException
getSelectionDataFor
in interface PControllerBean
getSelectionDataFor
in class PIASpecSpreadSheetBeanImpl
dataItem
- the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent
.index
- an optional index into an array data itemRemoteException
- thrown for errorspublic void results(PSearchResultsEvent e)
PSearchResultsListener
results
in interface PSearchResultsListener
e
- SearchResultsEventpublic Object getRemoteListenerHandle(String type) throws RemoteException
PControllerImpl
getRemoteListenerHandle
in interface PControllerBean
getRemoteListenerHandle
in class PControllerImpl
type
- the type of remote listener to getRemoteException
- thrown for errorsCopyright © 2003, 2023, Oracle and/or its affiliates.