Class PNonCurrencyResourcePanel

All Implemented Interfaces:
PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ActionListener, ContainerListener, FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListSelectionListener

public class PNonCurrencyResourcePanel extends PIACustomizablePanel implements ActionListener, FocusListener, ListSelectionListener
UI panel that supports showing non-currency resource detals for Rollover Configuration classses referenced:
See Also:
  • Field Details

    • BAL_INFO_INDEX

      public static Integer BAL_INFO_INDEX
  • Constructor Details

    • PNonCurrencyResourcePanel

      public PNonCurrencyResourcePanel()
  • Method Details

    • focusGained

      public void focusGained(FocusEvent e)
      Specified by:
      focusGained in interface FocusListener
    • focusLost

      public void focusLost(FocusEvent e)
      Specified by:
      focusLost in interface FocusListener
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Handles the controls for select ID and select service comboboxs
      Specified by:
      actionPerformed in interface ActionListener
    • valueChanged

      public void valueChanged(ListSelectionEvent event)
      This method handles loading of related rollover transfer details to the rollover transfer table for the selected non currency from the resource list
      Specified by:
      valueChanged in interface ListSelectionListener
    • setHelpAction

      public void setHelpAction(PDefaultHelpIDAction action)
    • getSelectedBalInfoIndex

      public Integer getSelectedBalInfoIndex()
      This method is responsible for returning the bal info index of selected service.
      Returns:
      bal info index
    • isErrorFound

      public boolean isErrorFound()
      Returns true if any error occur while loading data
      Returns:
      boolean
    • getErrorMessage

      public String getErrorMessage()
      Returns assigned error message when error was occured, otherwise returns blank
      Returns:
      String
    • setPlanModelHandle

      public void setPlanModelHandle(PModelHandle pMh)
      This method gets called during account creation and plan purchase. This method is responsible for calling methods to initialize the data.
      Parameters:
      pMh - PModelHandle
    • setDealHandle

      public void setDealHandle(PModelHandle dMh, Poid servPoid)
      This method gets called during deal purchase. this method is responsible for calling methods to initialize the data.
      Parameters:
      servPoid - service poid to which deal is associated from purchase panel
      pMh - PModelHandle deal model handle
    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      returns the rollover controller class name
      Specified by:
      getControllerClassName in interface PComponent
      Overrides:
      getControllerClassName in class PIACustomizablePanel
      Returns:
      A null String.
      Throws:
      RemoteException - thrown for errors