Package com.portal.app.cc.comp
Interface PCustomerCenterContext
- All Superinterfaces:
PAppContext
Customer Center specific implementation of the generic app context
- Version:
- %version: 7 % %date_modified: Thu Dec 07 09:41:43 2000 %
- Author:
- kapono
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Property that is sent out with the balance impact notification eventsstatic final String
Property that is sent out with the change currency notification eventsstatic final String
Property that is sent out with the new current account notification eventsstatic final String
Property that is sent out with the save notification eventsstatic final String
Property that is sent out with the balance impact notification events -
Method Summary
Modifier and TypeMethodDescriptionvoid
Notify the given listener when an event that impacts the balance occurs somewhere in the client.void
Registers the given listener to monitor change currency eventvoid
Registers the given listener so that it receives a PropertyChangeEvent event when a new account has been established as the current accountvoid
After the FM_UPDATE_CUSTOMER opcode is successful, notify the given listener so they can perform some action/update/cleanupvoid
After the PortalOp.CUST_SET_STATUS opcode is successful, notify the given listener so they can perform some action/update/cleanupvoid
Notify all listeners that an event that impacts the balance has occurred somewhere in the client.void
Notify all listeners that the switch currency toggle button is pressed Will send out a PCustomerCenterContext.SWITCH_CURRENCY property changevoid
Notify all listeners that the FM_UPDATE_CUSTOMER opcode was successful Will send out a PCustomerCenterContext.SAVED property changevoid
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 changeGets the model handle for the current accountWe currently provide the ability to display one account creation wizard at a time.void
Remove the given listener from the notification listvoid
Remove the given listener from the notification listvoid
Removes the given listener from the notification listvoid
Remove the given listener from the notification listvoid
Remove the given listener from the notification listvoid
Used to establish the context for the current wizard.Methods inherited from interface com.portal.bas.PAppContext
addActions, addContextChangedListener, changeSize, fireContextChangedEvent, focusOn, getAppName, removeActions, removeContextChangedListener, setOverlay, setStatus
-
Field Details
-
SAVED
Property that is sent out with the save notification events- See Also:
-
BAL_IMPACT
Property that is sent out with the balance impact notification events- See Also:
-
STATUS_CHANGED
Property that is sent out with the balance impact notification events- See Also:
-
CHANGE_CURRENCY
Property that is sent out with the change currency notification events- See Also:
-
NEW_CURRENT_ACCOUNT
Property that is sent out with the new current account notification events- See Also:
-
-
Method Details
-
addSaveNotificationListener
After the FM_UPDATE_CUSTOMER opcode is successful, notify the given listener so they can perform some action/update/cleanup- Parameters:
p
- The listener
-
removeSaveNotificationListener
Remove the given listener from the notification list- Parameters:
p
- The listener
-
fireSaveNotification
void fireSaveNotification()Notify all listeners that the FM_UPDATE_CUSTOMER opcode was successful Will send out a PCustomerCenterContext.SAVED property change -
addBalanceImpactListener
Notify the given listener when an event that impacts the balance occurs somewhere in the client.- Parameters:
p
- The listener
-
removeBalanceImpactListener
Remove the given listener from the notification list- Parameters:
p
- The listener
-
fireBalanceImpactNotification
void fireBalanceImpactNotification()Notify all listeners that an event that impacts the balance has occurred somewhere in the client. -
addStatusChangedListener
After the PortalOp.CUST_SET_STATUS opcode is successful, notify the given listener so they can perform some action/update/cleanup- Parameters:
p
- The listener
-
removeStatusChangedListener
Remove the given listener from the notification list- Parameters:
p
- The listener
-
fireStatusChangedNotification
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 -
addChangeCurrencyListener
Registers the given listener to monitor change currency event- Parameters:
p
- The listener
-
removeChangeCurrencyListener
Remove the given listener from the notification list- Parameters:
p
- The listener
-
fireChangeCurrencyNotification
void fireChangeCurrencyNotification()Notify all listeners that the switch currency toggle button is pressed Will send out a PCustomerCenterContext.SWITCH_CURRENCY property change -
getCurrentAccountModelHandle
PModelHandle getCurrentAccountModelHandle()Gets the model handle for the current account- Returns:
- The model handle for the current account
-
addNewCurrentAccountListener
Registers the given listener so that it receives a PropertyChangeEvent event when a new account has been established as the current account- Parameters:
p
- The listener
-
removeNewCurrentAccountListener
Removes the given listener from the notification list- Parameters:
p
- The listener
-
setWizardContext
Used to establish the context for the current wizard.- Parameters:
ctx
- The wizard context
-
getWizardContext
PAppContext getWizardContext()We currently provide the ability to display one account creation wizard at a time. This method allows you to access that wizard.- Returns:
- The wizard context if the wizard is active; null otherwise
-