Package com.portal.app.ccare.comp
Class ServiceSearchBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PFieldControllerBean
com.portal.bas.comp.PIASpecSpreadSheetBeanImpl
com.portal.app.ccare.comp.ServiceSearchBeanImpl
- All Implemented Interfaces:
ServiceSearchBean,PIASpecSpreadSheetBean,PControllerBean,PFieldBean,Serializable,Remote,Unreferenced
Service search bean used for service search dialog.
- Author:
- mchellam
- 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 TypeMethodDescriptionvoiddisplayResults(PModelHandle[] res) This method will be used to display the results in the service search results table.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.voidsetModel(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, updateMethods inherited from class com.portal.bas.PFieldControllerBean
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondaryMethods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, unreferenced
-
Constructor Details
-
ServiceSearchBeanImpl
Constructor- 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:
setModelin interfacePControllerBean- Overrides:
setModelin 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:
getSelectionDataForin interfacePControllerBean- Overrides:
getSelectionDataForin 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
-
displayResults
This method will be used to display the results in the service search results table. res[] will be the output of SEARCH call.- Specified by:
displayResultsin interfaceServiceSearchBean- Parameters:
res-
-