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, update
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public void setAccountDb(PModelHandle model)
setAccountDb
in interface PSubscriberPrefsBean
model
- public ArrayList<PSubscriberPrefsServicesNode> getServicesMaintenace(PModelHandle model)
getServicesMaintenace
in interface PSubscriberPrefsBean
model
- public ArrayList<PSubscriberPrefsServicesNode> getServicesAcctCreation(PModelHandle model)
getServicesAcctCreation
in interface PSubscriberPrefsBean
model
- public ArrayList<PSubscriberPrefsServicesNode> updateLoginID(ArrayList<PSubscriberPrefsServicesNode> snodes, HashMap<Integer,String> serviceIndexToLoginMap)
updateLoginID
in interface PSubscriberPrefsBean
snodes
- serviceIndexToLoginMap
- public PModelHandle addToModelHandle(HashMap<Integer,FList> subsPrefsRowMap, PModelHandle acModel)
addToModelHandle
in interface PSubscriberPrefsBean
subsPrefsRowMap
- acModel
- , Account modelpublic void clearSubsPrefsPoidMap()
clearSubsPrefsPoidMap
in interface PSubscriberPrefsBean
public FList getSubsPrefsPoidMap(Poid p)
getSubsPrefsPoidMap
in interface PSubscriberPrefsBean
p
- , service/account poidpublic FList getSubscriberPrefs(int row, Poid p) throws Exception
getSubscriberPrefs
in interface PSubscriberPrefsBean
row
- , table rowp
- , service poid or account poidException
public void removeType(FList prefs)
prefs
- public void deleteSubscriberPrefs(int row, Poid p)
deleteSubscriberPrefs
in interface PSubscriberPrefsBean
row
- , table rowp
- , service poid or account poidpublic void setSubscriberPrefs(int row, FList prefs, Poid poid) throws Exception
setSubscriberPrefs
in interface PSubscriberPrefsBean
row
- , table rowprefs
- , FList which contains the new valuespoid
- , profile poidException
public FList readConfigPreferencesMap()
readConfigPreferencesMap
in interface PSubscriberPrefsBean
protected FList searchServices(Poid mAccountPoid) throws EBufException
conn
- , cached contextmAccountPoid
- , Account poidEBufException
Copyright © 2003, 2023, Oracle and/or its affiliates.