public interface PCustomerCenterContext extends PAppContext
Modifier and Type | Field and Description |
---|---|
static String |
BAL_IMPACT
Property that is sent out with the balance impact notification events
|
static String |
CHANGE_CURRENCY
Property that is sent out with the change currency notification events
|
static String |
NEW_CURRENT_ACCOUNT
Property that is sent out with the new current account notification events
|
static String |
SAVED
Property that is sent out with the save notification events
|
static String |
STATUS_CHANGED
Property that is sent out with the balance impact notification events
|
Modifier and Type | Method and Description |
---|---|
void |
addBalanceImpactListener(PropertyChangeListener p)
Notify the given listener when an event that impacts the balance
occurs somewhere in the client.
|
void |
addChangeCurrencyListener(PropertyChangeListener p)
Registers the given listener to monitor change currency event
|
void |
addNewCurrentAccountListener(PropertyChangeListener p)
Registers the given listener so that it receives a
PropertyChangeEvent event when a new account has been established
as the current account
|
void |
addSaveNotificationListener(PropertyChangeListener p)
After the FM_UPDATE_CUSTOMER opcode is successful, notify the given
listener so they can perform some action/update/cleanup
|
void |
addStatusChangedListener(PropertyChangeListener p)
After the PortalOp.CUST_SET_STATUS opcode is successful, notify the given
listener so they can perform some action/update/cleanup
|
void |
fireBalanceImpactNotification()
Notify all listeners that an event that impacts the balance
has occurred somewhere in the client.
|
void |
fireChangeCurrencyNotification()
Notify all listeners that the switch currency toggle button is pressed
Will send out a PCustomerCenterContext.SWITCH_CURRENCY property change
|
void |
fireSaveNotification()
Notify all listeners that the FM_UPDATE_CUSTOMER opcode was successful
Will send out a PCustomerCenterContext.SAVED property change
|
void |
fireStatusChangedNotification(int iOldStatus,
int iNewStatus)
Notify all listeners that the PortalOp.CUST_SET_STATUS opcode was successful
Will send out a PCustomerCenterContext.STATUS_CHANGED property change
|
PModelHandle |
getCurrentAccountModelHandle()
Gets the model handle for the current account
|
PAppContext |
getWizardContext()
We currently provide the ability to display one account creation
wizard at a time.
|
void |
removeBalanceImpactListener(PropertyChangeListener p)
Remove the given listener from the notification list
|
void |
removeChangeCurrencyListener(PropertyChangeListener p)
Remove the given listener from the notification list
|
void |
removeNewCurrentAccountListener(PropertyChangeListener p)
Removes the given listener from the notification list
|
void |
removeSaveNotificationListener(PropertyChangeListener p)
Remove the given listener from the notification list
|
void |
removeStatusChangedListener(PropertyChangeListener p)
Remove the given listener from the notification list
|
void |
setWizardContext(PAppContext ctx)
Used to establish the context for the current wizard.
|
addActions, addContextChangedListener, changeSize, fireContextChangedEvent, focusOn, getAppName, removeActions, removeContextChangedListener, setOverlay, setStatus
static final String SAVED
static final String BAL_IMPACT
static final String STATUS_CHANGED
static final String CHANGE_CURRENCY
static final String NEW_CURRENT_ACCOUNT
void addSaveNotificationListener(PropertyChangeListener p)
p
- The listenervoid removeSaveNotificationListener(PropertyChangeListener p)
p
- The listenervoid fireSaveNotification()
void addBalanceImpactListener(PropertyChangeListener p)
p
- The listenervoid removeBalanceImpactListener(PropertyChangeListener p)
p
- The listenervoid fireBalanceImpactNotification()
void addStatusChangedListener(PropertyChangeListener p)
p
- The listenervoid removeStatusChangedListener(PropertyChangeListener p)
p
- The listenervoid fireStatusChangedNotification(int iOldStatus, int iNewStatus)
void addChangeCurrencyListener(PropertyChangeListener p)
p
- The listenervoid removeChangeCurrencyListener(PropertyChangeListener p)
p
- The listenervoid fireChangeCurrencyNotification()
PModelHandle getCurrentAccountModelHandle()
void addNewCurrentAccountListener(PropertyChangeListener p)
p
- The listenervoid removeNewCurrentAccountListener(PropertyChangeListener p)
p
- The listenervoid setWizardContext(PAppContext ctx)
ctx
- The wizard contextPAppContext getWizardContext()
Copyright © 2003, 2023, Oracle and/or its affiliates.