Package com.portal.app.ccare.comp
Class PSubscriberPrefsBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PSubscriberPrefsBeanImpl
- All Implemented Interfaces:
PSubscriberPrefsBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
public class PSubscriberPrefsBeanImpl
extends PIAComponentCollectionBean
implements PSubscriberPrefsBean
Implementation class for Subscriber Preferences Page
- 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 TypeMethodDescriptionaddToModelHandle
(HashMap<Integer, FList> subsPrefsRowMap, PModelHandle acModel) This method will add the preferences to the account modelvoid
Clears subsPrefsPoidMap hashmapvoid
deleteSubscriberPrefs
(int row, Poid p) Deletes the Subscriber Preference associated with service poidBuilds servicenodes for account creation modeBuilds servicenodes for account maintenance modegetSubscriberPrefs
(int row, Poid p) Returns the preferences associated with the service.Gets the preferences associated with service/account poidGets the /config/subscriber_preferences_mapvoid
removeType
(FList prefs) Removes FldType details associated with the preferenceprotected FList
searchServices
(Poid mAccountPoid) Returns the services associated with account poid.void
setAccountDb
(PModelHandle model) Sets the mAccountPoid, this poid will be used to read the db.void
setSubscriberPrefs
(int row, FList prefs, Poid poid) Sets the subscriber preference.updateLoginID
(ArrayList<PSubscriberPrefsServicesNode> snodes, HashMap<Integer, String> serviceIndexToLoginMap) Populates the ServicePrefsNodes with the updated login info.Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
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, setModel, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PSubscriberPrefsBeanImpl
- Throws:
Exception
-
-
Method Details
-
setAccountDb
Sets the mAccountPoid, this poid will be used to read the db.- Specified by:
setAccountDb
in interfacePSubscriberPrefsBean
- Parameters:
model
-
-
getServicesMaintenace
Builds servicenodes for account maintenance mode- Specified by:
getServicesMaintenace
in interfacePSubscriberPrefsBean
- Parameters:
model
-- Returns:
- serviceNodes
-
getServicesAcctCreation
Builds servicenodes for account creation mode- Specified by:
getServicesAcctCreation
in interfacePSubscriberPrefsBean
- Parameters:
model
-- Returns:
-
updateLoginID
public ArrayList<PSubscriberPrefsServicesNode> updateLoginID(ArrayList<PSubscriberPrefsServicesNode> snodes, HashMap<Integer, String> serviceIndexToLoginMap) Populates the ServicePrefsNodes with the updated login info.- Specified by:
updateLoginID
in interfacePSubscriberPrefsBean
- Parameters:
snodes
-serviceIndexToLoginMap
-- Returns:
- ArrayList
-
addToModelHandle
This method will add the preferences to the account model- Specified by:
addToModelHandle
in interfacePSubscriberPrefsBean
- Parameters:
subsPrefsRowMap
-acModel
- , Account model- Returns:
- profileModel
-
clearSubsPrefsPoidMap
public void clearSubsPrefsPoidMap()Clears subsPrefsPoidMap hashmap- Specified by:
clearSubsPrefsPoidMap
in interfacePSubscriberPrefsBean
-
getSubsPrefsPoidMap
Gets the preferences associated with service/account poid- Specified by:
getSubsPrefsPoidMap
in interfacePSubscriberPrefsBean
- Parameters:
p
- , service/account poid
-
getSubscriberPrefs
Returns the preferences associated with the service.- Specified by:
getSubscriberPrefs
in interfacePSubscriberPrefsBean
- Parameters:
row
- , table rowp
- , service poid or account poid- Returns:
- outFlist, preferences associated with service
- Throws:
Exception
-
removeType
Removes FldType details associated with the preference- Parameters:
prefs
-
-
deleteSubscriberPrefs
Deletes the Subscriber Preference associated with service poid- Specified by:
deleteSubscriberPrefs
in interfacePSubscriberPrefsBean
- Parameters:
row
- , table rowp
- , service poid or account poid
-
setSubscriberPrefs
Sets the subscriber preference.- Specified by:
setSubscriberPrefs
in interfacePSubscriberPrefsBean
- Parameters:
row
- , table rowprefs
- , FList which contains the new valuespoid
- , profile poid- Throws:
Exception
-
readConfigPreferencesMap
Gets the /config/subscriber_preferences_map- Specified by:
readConfigPreferencesMap
in interfacePSubscriberPrefsBean
- Returns:
- outputFList, /config/subscriber_preferences_map object.
-
searchServices
Returns the services associated with account poid.- Parameters:
mAccountPoid
- , Account poidconn
- , cached context- Returns:
- flist, all the services purchased in the account
- Throws:
EBufException
-