Class PAREventSearchDlg

All Implemented Interfaces:
ActionListener, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class PAREventSearchDlg extends JDialog implements ActionListener, ItemListener
Dialog that allows to specify the serach criteria for Event Search
See Also:
  • Constructor Details

  • Method Details

    • validatedates

      protected boolean validatedates()
      Validates the From invalid input: '&' To Dates entered returns boolean
    • validateamount

      protected boolean validateamount()
      Validates the From invalid input: '&' To amount entered Both are optional fields, if both are entered then the validation happens to check if from amount is not greater than the to amount. returns boolean
    • getFromAmount

      public BigDecimal getFromAmount()
      This method returns the From-Amount entered by the user if Amount_Range checkbox is selected returns BigDecimal
    • getToAmount

      public BigDecimal getToAmount()
      This method returns the To-Amount entered by the user if Amount_Range checkbox is selected returns BigDecimal
    • getFromDate

      public Date getFromDate()
      This method returns the From-Date entered by the user if Date_Range checkbox is selected returns Date
    • getToDate

      public Date getToDate()
      This method returns the To-Date entered by the user if Date_Range checkbox is selected returns Date
    • searchForAllDates

      public boolean searchForAllDates()
      This method is called to check whether the event search operation is to be performed for all dates or for any particular date range returns boolean
    • searchForAllAmounts

      public boolean searchForAllAmounts()
      This method is called to check whether the event search operation is to be performed for all amount or for any particular amount range returns boolean
    • getServiceID

      public String getServiceID()
      Return the service id
      Returns:
      String
    • getServiceType

      public String getServiceType()
      Retruns the service type
      Returns:
      String
    • getServiceStatus

      public int getServiceStatus()
      Returns the service status
      Returns:
      int
    • getPurchasedFrom

      public Date getPurchasedFrom()
      Returns the purchased from date
      Returns:
      Date
    • getPurchasedTo

      public Date getPurchasedTo()
      Returns the purchased to date
      Returns:
      Date
    • getDeviceID

      public String getDeviceID()
      Returns the device id
      Returns:
      String
    • getDeviceType

      public String getDeviceType()
      Returns the device type
      Returns:
      String
    • getBalGrpName

      public String getBalGrpName()
      Returns the balance group name
      Returns:
      String
    • getBillUnitName

      public String getBillUnitName()
      Returns the bill unit name
      Returns:
    • isIncludeSubServices

      public boolean isIncludeSubServices()
      Is include sub services selected?
      Returns:
      boolean
    • isIncludeSubDevices

      public boolean isIncludeSubDevices()
      Is include sub devices selected?
      Returns:
      boolean
    • isIncludeAllEvents

      public boolean isIncludeAllEvents()
      Is include sub devices selected?
      Returns:
      boolean
    • isMatchCase

      public boolean isMatchCase()
      Is Match case selected?
      Returns:
      boolean
    • setController

      public void setController(PAREventSearchPageBeanImpl bean)
      Sets the bean for this dialog
    • initialize

      public void initialize(PModelHandle handle)
      Resets the CheckBoxes and Date invalid input: '&' Amount fields with default settings
    • setModelHandle

      public void setModelHandle(PModelHandle handle)
    • getModelHandle

      public PModelHandle getModelHandle()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • getConfirmation

      protected boolean getConfirmation()
      Get wild card search confirmation for the following fields Service id, device id, balance group name, and bill unit name.
      Returns:
      boolean
    • itemStateChanged

      public void itemStateChanged(ItemEvent e)
      Specified by:
      itemStateChanged in interface ItemListener
    • isClosed

      public boolean isClosed()