Class AccountSearchDlg

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class AccountSearchDlg extends JDialog
This class displays the account search dialog which consists of three main panels. It holds the entry panel by instantiating AccountEntryPanel, button panel to hold necessary buttons to faciliate the user actions by instantiating AccountSearchBtnPanel and holds the, account search results panel by instantiating AccountSearchResultsPanel class.
See Also:
  • Field Details

    • mHeaderLabel

      protected JLabel mHeaderLabel
    • mAccountEntryPnl

      protected AccountEntryPanel mAccountEntryPnl
    • mAccountSearchBtnPanel

      protected AccountSearchBtnPanel mAccountSearchBtnPanel
    • mAccountSrchResultsPanel

      protected AccountSearchResultsPanel mAccountSrchResultsPanel
    • mStatusPanel

      protected com.portal.pfc.ui.accountsearch.AccountSearchDlg.StatusPanel mStatusPanel
  • Constructor Details

    • AccountSearchDlg

      public AccountSearchDlg(JFrame parent)
      This constructor brings up the dialog for searching the customer accounts in the Portal database. This dialog is set as modal window for easy control of data to the caller class.
    • AccountSearchDlg

      public AccountSearchDlg(JDialog parent)
  • Method Details

    • setVisible

      public void setVisible(boolean visible)
      This method resets the previous selected account number to null each time this dialog is opened.
      Overrides:
      setVisible in class Dialog
    • getSelectedAccountNo

      public String getSelectedAccountNo()
      To get the Account Number of the selected row from the result table.
    • getSelectedAccountPoid

      public Poid getSelectedAccountPoid()
      To get the Account Poid of the selected row from the result table.
    • getFilteredSearchResults

      protected FList getFilteredSearchResults(FList out)
      This method can be overriden by its child class to filter the search results accordingly.
    • performHelpAction

      protected void performHelpAction()
      This method can be overriden by its child class to provide its corresponding help action
    • getInputFList

      protected FList getInputFList()
    • setConnection

      public void setConnection(PortalContext ctx)
      sets the connection object to the portal database.
    • getStepSearchObj

      public StepSearch getStepSearchObj()
      returns the reference to the search object.