public class PSubscriberPrefsBeanImpl extends PIAComponentCollectionBean implements PSubscriberPrefsBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PSubscriberPrefsBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
PModelHandle |
addToModelHandle(HashMap<Integer,FList> subsPrefsRowMap,
PModelHandle acModel)
This method will add the preferences to the account model
|
void |
clearSubsPrefsPoidMap()
Clears subsPrefsPoidMap hashmap
|
void |
deleteSubscriberPrefs(int row,
Poid p)
Deletes the Subscriber Preference associated with service poid
|
ArrayList<PSubscriberPrefsServicesNode> |
getServicesAcctCreation(PModelHandle model)
Builds servicenodes for account creation mode
|
ArrayList<PSubscriberPrefsServicesNode> |
getServicesMaintenace(PModelHandle model)
Builds servicenodes for account maintenance mode
|
FList |
getSubscriberPrefs(int row,
Poid p)
Returns the preferences associated with the service.
|
FList |
getSubsPrefsPoidMap(Poid p)
Gets the preferences associated with service/account poid
|
FList |
readConfigPreferencesMap()
Gets the /config/subscriber_preferences_map
|
void |
removeType(FList prefs)
Removes FldType details associated with the preference
|
protected 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.
|
ArrayList<PSubscriberPrefsServicesNode> |
updateLoginID(ArrayList<PSubscriberPrefsServicesNode> snodes,
HashMap<Integer,String> serviceIndexToLoginMap)
Populates the ServicePrefsNodes with the updated login info.
|
addChild, getCollectedData, getSelectionDataFor, removeChild, updateaddRemoteListener, 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, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic void setAccountDb(PModelHandle model)
setAccountDb in interface PSubscriberPrefsBeanmodel - public ArrayList<PSubscriberPrefsServicesNode> getServicesMaintenace(PModelHandle model)
getServicesMaintenace in interface PSubscriberPrefsBeanmodel - public ArrayList<PSubscriberPrefsServicesNode> getServicesAcctCreation(PModelHandle model)
getServicesAcctCreation in interface PSubscriberPrefsBeanmodel - public ArrayList<PSubscriberPrefsServicesNode> updateLoginID(ArrayList<PSubscriberPrefsServicesNode> snodes, HashMap<Integer,String> serviceIndexToLoginMap)
updateLoginID in interface PSubscriberPrefsBeansnodes - serviceIndexToLoginMap - public PModelHandle addToModelHandle(HashMap<Integer,FList> subsPrefsRowMap, PModelHandle acModel)
addToModelHandle in interface PSubscriberPrefsBeansubsPrefsRowMap - acModel - , Account modelpublic void clearSubsPrefsPoidMap()
clearSubsPrefsPoidMap in interface PSubscriberPrefsBeanpublic FList getSubsPrefsPoidMap(Poid p)
getSubsPrefsPoidMap in interface PSubscriberPrefsBeanp - , service/account poidpublic FList getSubscriberPrefs(int row, Poid p) throws Exception
getSubscriberPrefs in interface PSubscriberPrefsBeanrow - , table rowp - , service poid or account poidExceptionpublic void removeType(FList prefs)
prefs - public void deleteSubscriberPrefs(int row,
Poid p)
deleteSubscriberPrefs in interface PSubscriberPrefsBeanrow - , table rowp - , service poid or account poidpublic void setSubscriberPrefs(int row,
FList prefs,
Poid poid)
throws Exception
setSubscriberPrefs in interface PSubscriberPrefsBeanrow - , table rowprefs - , FList which contains the new valuespoid - , profile poidExceptionpublic FList readConfigPreferencesMap()
readConfigPreferencesMap in interface PSubscriberPrefsBeanprotected FList searchServices(Poid mAccountPoid) throws EBufException
conn - , cached contextmAccountPoid - , Account poidEBufExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.