public class PurchaseOfferingSharedData 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 int |
CHANGE_OPTIONS |
static int |
CHANGE_OPTIONS_OFFERING
change options offering type
|
static String |
CUST_SERVICE
property to be used for notifying customize services page if it should be enabled or not
during change options and transition operation depending on the deal selection
|
static int |
DEAL_OFFERING
Deal offering offering type.
|
static String |
MAP_SERVICE |
static int |
NO_OFFERING
No offering offering type.
|
static int |
NO_OPERATION |
static String |
OFFERING
Property to be used for shared data change offering notification.
|
static String |
OFFERINGTYPE
Property to be used for shared data offering type change notification.
|
static String |
OPERATIONTYPE |
static String |
PAYMENT_OPTION_ENABLED |
static int |
PLAN_OFFERING
Plan offering offering type.
|
static int |
TRANSITION |
Constructor and Description |
---|
PurchaseOfferingSharedData(SharedDataManager m)
Creates purchase offering shared data.
|
Modifier and Type | Method and Description |
---|---|
void |
dealStatesChanged(boolean changed) |
Date |
getBackdate()
Returns the selected backdate
|
PModelHandle |
getModelHandleOfFromPlan() |
PModelHandle |
getOffering()
Returns the model handle of the selected plan or deal during
purchase offering.
|
int |
getOfferingType()
Returns the offering type
|
int |
getOperationType() |
String |
getPlanListAccessString()
Returns the shared plan list access string.
|
boolean |
getReqDealSelectedFlag() |
SparseArray |
getSelectedDealsOrServices()
Retrieve the selected services/deals in plan options page for enabling/disabling of other pages
|
Poid |
getSelectedServicePoidForDeal()
gets the selected service poid for deal
|
boolean |
getServiceMappingRequired() |
boolean |
isBackdatingSelected()
called by wizard pages to know if backdating option is selected in Purchase panel
|
boolean |
isDealStatesChanged() |
boolean |
isPlanOfferingHasRequiredServices() |
boolean |
isServiceAvailableToCustomize() |
boolean |
isSubscrptionGroupAvailable() |
void |
recycle()
Clears shared data variables.
|
void |
setBackdateData(boolean flag,
Date date)
sets the backdating option to share with other wizard pages and holds the chosen backdate
|
void |
setModelHandleOfFromPlan(PModelHandle plan) |
void |
setOffering(PModelHandle inOffering)
Sets the model handle of the selected plan/deal during
purchase offering.
|
void |
setOfferingType(int offeringType)
During purchase offering, if the offering type has changed,
holds onto the passed-in offering type and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setOperationType(int operationType) |
void |
setPaymentOptionEnabled(boolean flag)
This will pass the information to the Payment Option panel
to enable or disable depending in
flag |
void |
setPlanListAccessString(String accessString)
Holds onto the plan list access string and calls
fireSharedDataChangedNotification to
notify any interested listeners. |
void |
setPlanOfferingHasRequiredServicesFlag(boolean flag) |
void |
setReqDealSelectedFlag(boolean flag) |
void |
setSelectedDealsOrServices(SparseArray in)
Store the selected services/deals in plan options page for enabling/disabling of other pages
|
void |
setSelectedServiceObjForDeal(Poid servPoid)
set the selected service object for Deal
|
void |
setServiceAvailableToCustomize(boolean flag) |
void |
setServiceMappingRequired(boolean isReq) |
void |
setSubscrptionGroupAvailable(boolean mIsSubscriptionGroupAvailable)
set whether plan is having subcription group or not
|
fireSharedDataChangedNotification, fireSharedDataVetoableNotification
public static final String OPERATIONTYPE
public static final String CUST_SERVICE
public static final String PAYMENT_OPTION_ENABLED
public static final int CHANGE_OPTIONS_OFFERING
public static final int CHANGE_OPTIONS
public static final int TRANSITION
public static final int NO_OPERATION
public static final String OFFERINGTYPE
public static final String BACKDATE
public static final int NO_OFFERING
public static final int DEAL_OFFERING
public static final int PLAN_OFFERING
public static final String MAP_SERVICE
public static final String OFFERING
public static final String ACCESSSTRING
public PurchaseOfferingSharedData(SharedDataManager m)
m
- The manager for this shared data.public int getOfferingType()
setOfferingType
for the possible values.public void setOfferingType(int offeringType)
fireSharedDataChangedNotification
to
notify any interested listeners. The property sent is
OFFERINGTYPE
.offeringType
- One of the following:NO_OFFERING
-- offering type not selectedDEAL_OFFERING
-- selected offering is a dealPLAN_OFFERING
-- selected offering is a planpublic void setOffering(PModelHandle inOffering)
OFFERING
. If the offering type is
DEAL_OFFERING
the model handle is that of
a deal. If the offering type is PLAN_OFFERING
the model handle is that of a plan.inOffering
- Model handle for the selected planpublic PModelHandle getOffering()
public 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 recycle()
recycle
in class SharedData
public void setOperationType(int operationType)
public int getOperationType()
public void setServiceMappingRequired(boolean isReq)
public boolean getServiceMappingRequired()
public void setPlanOfferingHasRequiredServicesFlag(boolean flag)
public boolean isPlanOfferingHasRequiredServices()
public void setBackdateData(boolean flag, Date date)
flag
- true if backdating option is selected in Purchase panel, false otherwisedate
- chosen backdatepublic boolean isBackdatingSelected()
public Date getBackdate()
public void dealStatesChanged(boolean changed)
public boolean isDealStatesChanged()
public void setModelHandleOfFromPlan(PModelHandle plan)
public PModelHandle getModelHandleOfFromPlan()
public boolean getReqDealSelectedFlag()
public void setReqDealSelectedFlag(boolean flag)
public boolean isServiceAvailableToCustomize()
public void setServiceAvailableToCustomize(boolean flag)
public void setPaymentOptionEnabled(boolean flag)
flag
flag
- public boolean isSubscrptionGroupAvailable()
public void setSubscrptionGroupAvailable(boolean mIsSubscriptionGroupAvailable)
mIsSubscriptionGroupAvailable
- booleanpublic void setSelectedServiceObjForDeal(Poid servPoid)
public Poid getSelectedServicePoidForDeal()
public void setSelectedDealsOrServices(SparseArray in)
sparsearray
- of selected servicespublic SparseArray getSelectedDealsOrServices()
Copyright © 2003, 2023, Oracle and/or its affiliates.