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 intFields 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 TypeMethodDescriptionvoidUtility method to clear the cache.voiddisplayResults(FList res, BalanceGroupSearchResultsTable servicesTable) This method will be used to display the results in the service search results table.intThis 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.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
-
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:
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 interfaceBalanceGroupSearchBean- Parameters:
res-
-
getResultsCount
public int getResultsCount()This method returns the results counts.- Specified by:
getResultsCountin interfaceBalanceGroupSearchBean- Returns:
-
clearCache
public void clearCache()Utility method to clear the cache.- Specified by:
clearCachein interfaceBalanceGroupSearchBean
-