Class PRolloverTransferPanel

All Implemented Interfaces:
PCCPage, PWizardPage, PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ContainerListener, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class PRolloverTransferPanel extends PIACustomizablePanel implements PWizardPage, PropertyChangeListener
Panel for configuring non currency rollover during Purchase Offering wizard and account creation wizard. This page contains the rollover transfer table and the non currency details panel.
Author:
nkishore
See Also:
  • Field Details

  • Constructor Details

    • PRolloverTransferPanel

      public PRolloverTransferPanel()
      Creates a new panel to customize products.
  • Method Details

    • addNotify

      public void addNotify()
      Overridden to apply style to some of the fonts
      Overrides:
      addNotify in class JComponent
    • removeNotify

      public void removeNotify()
      Overrides:
      removeNotify in class JComponent
    • getLabel

      public String getLabel()
      Returns the label for this page.
      Specified by:
      getLabel in interface PCCPage
      Returns:
      The tag that will be displayed in the breadcrumb trail to reference this component.
    • enteringPage

      public void enteringPage()
      Initializing the wizard page
      Specified by:
      enteringPage in interface PCCPage
    • getControllerClassName

      public String getControllerClassName()
      Returns the controller class name
      Specified by:
      getControllerClassName in interface PComponent
      Overrides:
      getControllerClassName in class PIACustomizablePanel
      Returns:
    • leavingPage

      public void leavingPage() throws PropertyVetoException
      Shares out info of interest to other pages
      Specified by:
      leavingPage in interface PWizardPage
      Throws:
      PropertyVetoException
    • recycle

      public void recycle()
      Reinitializes the page
      Specified by:
      recycle in interface PCCPage
    • getWizardHelpID

      public String getWizardHelpID()
      Returns the help ID for this page during account creation and purchase offering.
      Specified by:
      getWizardHelpID in interface PWizardPage
      Returns:
      The ID associated with the helpid.acwizard.productspage tag or the helpid.acwizard.productspage tag in the properties file.
    • validateWizardPage

      public void validateWizardPage() throws PValidationException
      Validates this page.
      Specified by:
      validateWizardPage in interface PWizardPage
      Throws:
      PValidationException
      See Also:
    • handleWizardCommitError

      public boolean handleWizardCommitError(com.portal.app.util.CustomerError error)
      Handles commit-time errors.
      Specified by:
      handleWizardCommitError in interface PWizardPage
      Parameters:
      error - The error.
      Returns:
      true if the page will handle the error; otherwise false.
      See Also:
    • collectData

      public void collectData(PCollectDataEvent event)
      this method is responsible for storing the rollover data during account creation and purchase time CollectDataListener override.
      Specified by:
      collectData in interface PCollectDataListener
      Specified by:
      collectData in interface PWizardPage
      Overrides:
      collectData in class PIACustomizablePanel
      Parameters:
      event - The marshal data event
      See Also:
    • updateRolloverObject

      public void updateRolloverObject(PModelHandle originalMH)
      This method is responsible for appending profiles arrays to each service which has non currency resources incase account creation bal info array index gets added into resource info array incase account creation bal group object gets added into resource info array
      Parameters:
      originalMH -
    • propertyChange

      public void propertyChange(PropertyChangeEvent event)
      This method is responsible for catching what plan/deal has been seleted in purchase/plan panel and call methods to update accordingly in rollover transfer panel.
      Specified by:
      propertyChange in interface PropertyChangeListener
    • hasUnsavedChanges

      public boolean hasUnsavedChanges()
      Returns false because nothing needs to be saved
    • setEnabled

      public void setEnabled(boolean b)
      override the JComponent's public function setEnabled
      Overrides:
      setEnabled in class JComponent