Interface PCustomerCenterContext

All Superinterfaces:
PAppContext

public interface PCustomerCenterContext extends 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 Details

    • SAVED

      static final String SAVED
      Property that is sent out with the save notification events
      See Also:
    • BAL_IMPACT

      static final String BAL_IMPACT
      Property that is sent out with the balance impact notification events
      See Also:
    • STATUS_CHANGED

      static final String STATUS_CHANGED
      Property that is sent out with the balance impact notification events
      See Also:
    • CHANGE_CURRENCY

      static final String CHANGE_CURRENCY
      Property that is sent out with the change currency notification events
      See Also:
    • NEW_CURRENT_ACCOUNT

      static final String NEW_CURRENT_ACCOUNT
      Property that is sent out with the new current account notification events
      See Also:
  • Method Details

    • addSaveNotificationListener

      void addSaveNotificationListener(PropertyChangeListener p)
      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

      void removeSaveNotificationListener(PropertyChangeListener p)
      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

      void addBalanceImpactListener(PropertyChangeListener p)
      Notify the given listener when an event that impacts the balance occurs somewhere in the client.
      Parameters:
      p - The listener
    • removeBalanceImpactListener

      void removeBalanceImpactListener(PropertyChangeListener p)
      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

      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
      Parameters:
      p - The listener
    • removeStatusChangedListener

      void removeStatusChangedListener(PropertyChangeListener p)
      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

      void addChangeCurrencyListener(PropertyChangeListener p)
      Registers the given listener to monitor change currency event
      Parameters:
      p - The listener
    • removeChangeCurrencyListener

      void removeChangeCurrencyListener(PropertyChangeListener p)
      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

      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
      Parameters:
      p - The listener
    • removeNewCurrentAccountListener

      void removeNewCurrentAccountListener(PropertyChangeListener p)
      Removes the given listener from the notification list
      Parameters:
      p - The listener
    • setWizardContext

      void setWizardContext(PAppContext ctx)
      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