Class PPlanOptionsPage

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

Page for showing the required and optional deals in the plan.
See Also:
  • Field Details

  • Constructor Details

    • PPlanOptionsPage

      public PPlanOptionsPage()
      PPlanOptionsPage Constructor
    • PPlanOptionsPage

      public PPlanOptionsPage(boolean isWizardPage)
      PPlanOptionsPage Constructor.
      Parameters:
      isWizardPage - Specifies whether this instance is a wizard page or not.
    • PPlanOptionsPage

      public PPlanOptionsPage(FList plan)
      PPlanOptionsPage Constructor.
      Parameters:
      plan - Plan with which Plan options table is constructed.
  • Method Details

    • setModelForCurrentPlan

      public void setModelForCurrentPlan()
      Builds the plan options table with currently owned plan
    • getModelForCurrentPlan

      public PModelHandle getModelForCurrentPlan()
      Returns current plan model handle
    • setModel

      public void setModel(PModelHandle handle)
      Builds the plan options table with the specified model.
      Parameters:
      handle -
    • propertyChange

      public void propertyChange(PropertyChangeEvent event)
      implementation of PropertyChangeListener
      Specified by:
      propertyChange in interface PropertyChangeListener
    • fireChangeOptionEvent

      public void fireChangeOptionEvent(POptionChangeEvent e)
      Notifies the registered change option listeners of the change in options selected.
      Parameters:
      e - option change event
    • recycle

      public void recycle()
      Description copied from interface: PCCPage
      This method should perform any needed cleanup before the page is reused to display data for a different account.
      Specified by:
      recycle in interface PCCPage
    • getLabel

      public String getLabel()
      Description copied from interface: PCCPage
      Retrieves the localizable text string used to identify this page. This may be used in the navigator of a wizard or in the breadcrumb trail.
      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()
      Implementation of PWizard page.
      Specified by:
      enteringPage in interface PCCPage
    • buildPlanTable

      public void buildPlanTable()
      Builds plan table with plan offered by the shared data.
    • isServCustomizationReqd

      public boolean isServCustomizationReqd()
    • leavingPage

      public void leavingPage() throws PropertyVetoException
      Delegates to contained panels.
      Specified by:
      leavingPage in interface PWizardPage
      Throws:
      PropertyVetoException
    • 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.paymentoptionspage tag or the helpid.powizard.paymentoptionspage tag in the properties file.
    • validateWizardPage

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

      public boolean validateDeals()
      Validates deals for possible prerequisite, mutually exclusive conditions. Shows appropriate error message.
      Returns:
    • getPlanOfferingForChangeOptions

      public PModelHandle getPlanOfferingForChangeOptions(PModelHandle subscribedPlan)
      Returns the plan offering for change options.
      Parameters:
      subscribedPlan -
      Returns:
    • collectData

      public void collectData(PCollectDataEvent event)
      Implementation of collectData method of PWizard Page
      Specified by:
      collectData in interface PCollectDataListener
      Specified by:
      collectData in interface PWizardPage
      Overrides:
      collectData in class PIACustomizablePanel
      Parameters:
      event -
      See Also:
    • getSelectedUnpurchasedOptionalDeals

      public SparseArray getSelectedUnpurchasedOptionalDeals()
      Returns selected non-purchased optional deals info.
    • isChangeInNodeStates

      public boolean isChangeInNodeStates()
      Returns true if there is a change in the current invalid input: '&' previous node states
      Returns:
    • newNodesSelected

      public boolean newNodesSelected()
    • getSelectedOptionalDeals

      public SparseArray getSelectedOptionalDeals()
      Returns selected optional deals info.
    • addChangeOptionListener

      public void addChangeOptionListener(PChangeOptionsListener listener)
      Adds the given listener to the list of change option listeners.
      Parameters:
      listener -
    • 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:
    • addNotify

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

      public void initPage()
    • removeNotify

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

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

      public void setTitle(String strSelPlanName)
      Sets the dialog's title to strSelPlanName. If the parameter is null, then it sets the title back to the default strings.
      Parameters:
      strSelPlanName -
    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      Description copied from class: PIACustomizablePanel
      Retrieves the class name of this component's controller, in this case, null.
      Specified by:
      getControllerClassName in interface PComponent
      Overrides:
      getControllerClassName in class PIACustomizablePanel
      Returns:
      Throws:
      RemoteException
    • valueChanged

      public void valueChanged(TreeSelectionEvent e)
      Implementation of tree selection changed
      Specified by:
      valueChanged in interface TreeSelectionListener
      Parameters:
      e -
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Specified by:
      valueChanged in interface ListSelectionListener