public class AccountCreationSharedData extends SharedData
Modifier and Type | Field and Description |
---|---|
static String |
ACCESSSTRING
Property to be used for shared data plan list access string change notification
|
static String |
BACKDATE
Property to be used for shared data backdate change notification
|
static String |
CURRENCIES
Property to be used for shared data currencies change notification
|
static String |
CUSTOMERTYPE
Property to be used for shared data customer type change notification
|
static String |
DBID
Property to be used for shared data database ID
|
static String |
HIERARCHY
Property to be used for shared data hierarchy change notification
|
static String |
INFRANETLOCALE
Property to be used for shared data Portal locale change notification
|
static String |
NAMEADDRESS
Property to be used for shared data name/address change notification
|
static String |
OFFERING
Property to be used for shared data offering plan change notification
|
static String |
SPONSORSHIP
Property to be used for shared data sponsorship type change notification
|
Constructor and Description |
---|
AccountCreationSharedData(SharedDataManager m)
Creates account creation shared data.
|
Modifier and Type | Method and Description |
---|---|
void |
dealStatesChanged(boolean changed)
Sets the value of deal selection changes in pplanoptionspage.
|
Date |
getBackdate()
Returns the selected backdate
|
HashMap |
getBalGrpCurrencyWithCurrencyMap()
returns the balncegroup and respective credit limit maps
|
CurrenciesData |
getCurrenciesData()
Returns shared currencies data.
|
int |
getCustomerType()
Returns the shared customer type.
|
Long |
getDatabaseID()
Retrieves the databaseID
|
HierarchySetupData |
getHierarchyData()
Returns the hierarchy data.
|
InfranetLocaleData |
getInfranetLocaleData()
Returns shareable Portal locale data
|
NameAddressData |
getNameAddressData()
Returns shareable name and address data.
|
PModelHandle |
getOffering()
Returns the model handle of the selected plan.
|
ArrayList |
getPhoneData()
Returns shareable phone data.
|
String |
getPlanListAccessString()
Returns the shared plan list access string.
|
boolean |
getReqDealSelectedFlag()
Returns the required deal selection flag
|
SparseArray |
getSelectedDealsOrServices()
Retrieve the selected services/deals in plan options page for enabling/disabling of other pages
|
ArrayList |
getSponsoredProducts() |
SponsorshipData[] |
getSponsorshipData() |
boolean |
isBackdatingSelected()
returns if backdated account creation option is selected in General Page
|
boolean |
isDealStatesChanged()
Returns true if deal selection has been changed in PPlanOptionsPage
|
boolean |
isPlanOfferingHasRequiredServices()
Returns true if plan offering has required and optional deals.
|
boolean |
isSubscrptionGroupAvailable() |
void |
recycle()
Clears shared data variables.
|
void |
setBackdateData(boolean flag,
Date date)
Sets the flag for backdated selection in General Page for account creation
and holds the chosen backdate
|
void |
setBalGrpCurrencyWithCurrencyMap(HashMap hm)
sets the balncegroup and respective credit limit maps
|
void |
setCurrenciesData(CurrenciesData currenciesData)
Holds onto the shared currencies data and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setCustomerType(int customerType)
Used to set the customer type field for this new account, and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setDatabaseID(Long db)
Establishes the database the account should be restricted to.
|
void |
setDatabaseID(PModelHandle pm)
Establishes the database the account should be restricted to.
|
void |
setHierarchyData(HierarchySetupData hierarchyData)
Holds onto the hierarchy data and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setInfranetLocaleData(InfranetLocaleData infranetLocaleData)
Holds onto the passed-in Portal locale data and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setNameAddressData(NameAddressData nameAddressData)
Holds onto the passed-in name and address data and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setOffering(PModelHandle inOffering)
Holds onto the passed-in selected plan model handle and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setPhoneData(ArrayList phoneList)
Set shareable phone data to use while account creation
|
void |
setPlanListAccessString(String accessString)
Holds onto the plan list access string and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setPlanOfferingHasRequiredServicesFlag(boolean flag)
Sets true if the plan selected in purchase panel has required and optional deals.
|
void |
setReqDealSelectedFlag(boolean flag)
Sets the state of req deal selection flag.
|
void |
setSelectedDealsOrServices(SparseArray in)
Store the selected services/deals in plan options page for enabling/disabling of other pages
|
void |
setSponsoredProducts(ArrayList prod)
Sets the shareable data containing a sponsored product list for
sponsorship and will fire an event notification to interested listeners.
|
void |
setSponsorshipData(SponsorshipData[] data)
Sets the shareable data containing sponsor group information for
sponsorship and will fire an event notification to interested listeners.
|
void |
setSubscrptionGroupAvailable(boolean mIsSubscriptionGroupAvailable)
set whether plan is having subcription group or not
|
fireSharedDataChangedNotification, fireSharedDataVetoableNotification
public static final String DBID
public static final String OFFERING
public static final String NAMEADDRESS
public static final String INFRANETLOCALE
public static final String HIERARCHY
public static final String BACKDATE
public static final String CURRENCIES
public static final String CUSTOMERTYPE
public static final String ACCESSSTRING
public static final String SPONSORSHIP
public AccountCreationSharedData(SharedDataManager m)
m
- The manager for this shared data.public void setDatabaseID(PModelHandle pm) throws PropertyVetoException
DBID
.pm
- An account object from which to retrieve the database IDPropertyVetoException
public void setDatabaseID(Long db) throws PropertyVetoException
DBID
.db
- The database IDPropertyVetoException
public Long getDatabaseID()
public NameAddressData getNameAddressData()
public ArrayList getPhoneData()
public void setPhoneData(ArrayList phoneList)
public void setNameAddressData(NameAddressData nameAddressData)
fireSharedDataChangedNotification
to
notify any interested listeners. The property sent is
NAMEADDRESS
.nameAddressData
- name and address datapublic InfranetLocaleData getInfranetLocaleData()
public void setInfranetLocaleData(InfranetLocaleData infranetLocaleData)
fireSharedDataChangedNotification
to
notify any interested listeners. The property sent is
INFRANETLOCALE
.infranetLocaleData
- name and address datapublic void setSponsorshipData(SponsorshipData[] data)
SPONSORSHIP
.data
- the new sponsorship informationpublic SponsorshipData[] getSponsorshipData()
public void setSponsoredProducts(ArrayList prod)
SPONSORSHIP
.data
- the new sponsored product listpublic ArrayList getSponsoredProducts()
public void setOffering(PModelHandle inOffering)
fireSharedDataChangedNotification
to
notify any interested listeners. The property sent is
OFFERING
.inMH
- Model handle for the selected planpublic PModelHandle getOffering()
public HierarchySetupData getHierarchyData()
null
if there is no hierarchy data.public void setHierarchyData(HierarchySetupData hierarchyData)
fireSharedDataChangedNotification
to
notify any interested listeners. The property sent is
HIERARCHY
.hierarchyData
- hierarchy datapublic void setBackdateData(boolean flag, Date date)
flag
- true if selected, false otherwisedate
- chosen backdatepublic boolean isBackdatingSelected()
public Date getBackdate()
public CurrenciesData getCurrenciesData()
null
if there is no shared currencies data.public void setCurrenciesData(CurrenciesData currenciesData)
fireSharedDataChangedNotification
to
notify any interested listeners. The property sent is
CURRENCIES
.currenciesData
- hierarchy datapublic int getCustomerType()
public void setCustomerType(int customerType)
fireSharedDataChangedNotification
to
notify any interested listeners. The property sent is
CUSTOMERTYPE
.customerType
- The shared customer typepublic String getPlanListAccessString()
public void setPlanListAccessString(String accessString)
fireSharedDataChangedNotification
to
notify any interested listeners. The property sent is
ACCESSSTRING
.accessString
- The shared plan list access stringpublic void setBalGrpCurrencyWithCurrencyMap(HashMap hm)
hm
- HashMappublic HashMap getBalGrpCurrencyWithCurrencyMap()
public void setSelectedDealsOrServices(SparseArray in)
sparsearray
- of selected servicespublic SparseArray getSelectedDealsOrServices()
public void recycle()
recycle
in class SharedData
public void setPlanOfferingHasRequiredServicesFlag(boolean flag)
flag
- public boolean isPlanOfferingHasRequiredServices()
public void dealStatesChanged(boolean changed)
changed
- public boolean isDealStatesChanged()
public boolean getReqDealSelectedFlag()
public void setReqDealSelectedFlag(boolean flag)
flag
- public boolean isSubscrptionGroupAvailable()
public void setSubscrptionGroupAvailable(boolean mIsSubscriptionGroupAvailable)
mIsSubscriptionGroupAvailable
- booleanCopyright © 2003, 2023, Oracle and/or its affiliates.