Class PDeviceSearchEntryPanelBase

All Implemented Interfaces:
PSearchProducer, PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ActionListener, ContainerListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
Direct Known Subclasses:
PDeviceSearchEntryPanelDefault, PTelcoNumberEntryPanel, SIMEntryPanel

public class PDeviceSearchEntryPanelBase extends PIASearchPanel implements ActionListener
This is the base panel off of which all the entry panels for the device search dialog need to be based of. The entry panels are where the search criteria for the device search are entered.
Version:
%date_modified: Thr Feb 26 18:53:38 2003 %
See Also:
  • Field Details

    • mTelcoUtilBean

      protected CCTelcoUtility mTelcoUtilBean
      Utility class instance - contains convenience methods for retrieving config object data.
    • clientServices

      protected PClientServices clientServices
      required for logging messages
    • searchBean

      protected PDeviceSearchPanelBean searchBean
      required for doing the actual search for the devices
  • Constructor Details

    • PDeviceSearchEntryPanelBase

      public PDeviceSearchEntryPanelBase()
      Creates a device search entry panel.
  • Method Details

    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      retrieves the controller name for the search panel bean
      Specified by:
      getControllerClassName in interface PComponent
      Overrides:
      getControllerClassName in class PIASearchPanel
      Returns:
      PDeviceSearchPanelBean
      Throws:
      RemoteException
    • addNotify

      public void addNotify()
      Overriden to pre-select generic selection.
      Overrides:
      addNotify in class JComponent
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Action handler connected to all the text fields in the panel. Starts the search operation.
      Specified by:
      actionPerformed in interface ActionListener
    • setStatusFormat

      protected void setStatusFormat(PAppFieldComponent comp, ResourceBundle bund)
      Retrieves the display field format string for the device status.
      Parameters:
      devType - The device type to lookup (i.e. sim, num, cdma, etc)
      Throws:
      RemoteException
    • setChoiceStringFormat

      protected void setChoiceStringFormat(PIADefaultChoiceEnumField comp, String stringDomain, String format, ResourceBundle bundle)
      Retrieves the display field format string for the device .
      Parameters:
      comp - - the coomponent on which the string is to be set displayed
      stringDomain -
      format -
      bundle - - the resource bundle to retrieve the values
    • getDeviceType

      protected String getDeviceType()
      Retrieves the locally stored value of the device type that is set earlier
      Returns:
      the device type of the device being searched for.
    • setDeviceType

      protected void setDeviceType(String type)
      Store the device type locally so that it can be retrieved when needed.
      Parameters:
      devType - - String
    • isAccountCreation

      protected boolean isAccountCreation()
      Check whether the device search is being done during account creation process.
      Returns:
      boolean value - true if it is during account creation
    • setAccountDB

      protected void setAccountDB()
      Set the account database info in the search bean so that the search bean knows which database to search in for the devices.