Package com.portal.app.ccare.comp
Class BalanceGroupSearchBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PFieldControllerBean
com.portal.bas.comp.PIASpecSpreadSheetBeanImpl
com.portal.app.ccare.comp.BalanceGroupSearchBeanImpl
- All Implemented Interfaces:
BalanceGroupSearchBean
,PIASpecSpreadSheetBean
,PControllerBean
,PFieldBean
,Serializable
,Remote
,Unreferenced
public class BalanceGroupSearchBeanImpl
extends PIASpecSpreadSheetBeanImpl
implements BalanceGroupSearchBean
Search bean used for balance group search dialog.
- Author:
- mchellam
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
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 TypeMethodDescriptionvoid
Utility method to clear the cache.void
displayResults
(FList res, BalanceGroupSearchResultsTable servicesTable) This method will be used to display the results in the service search results table.int
This method returns the results counts.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
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, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, unreferenced
-
Field Details
-
intResultsCount
protected int intResultsCount -
mapBalGrpNames
-
mapBalGrpServiceCount
-
mapBalGrpAlreadyAdded
-
-
Constructor Details
-
BalanceGroupSearchBeanImpl
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:
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
-
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:
displayResults
in interfaceBalanceGroupSearchBean
- Parameters:
res
-
-
getResultsCount
public int getResultsCount()This method returns the results counts.- Specified by:
getResultsCount
in interfaceBalanceGroupSearchBean
- Returns:
-
clearCache
public void clearCache()Utility method to clear the cache.- Specified by:
clearCache
in interfaceBalanceGroupSearchBean
-