Class PIACanonField

All Implemented Interfaces:
PAppComponent, PAppFieldComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PFieldBean, PLightComponent, PViewDataChangeListener, FocusListener, ImageObserver, MenuContainer, Serializable, Remote, EventListener, Accessible, Scrollable, SwingConstants

public class PIACanonField extends PIATextField
PIACanonField is a Field subclass that handles fields that have a canonical shadow field. The functional differences are what happens when data is saved to the database, and which data or fields are used for searching.
Version:
$Version$
Author:
Larry Lynch-Freshner
See Also:
  • Constructor Details

    • PIACanonField

      public PIACanonField()
  • Method Details

    • setAlternateFieldDescription

      public void setAlternateFieldDescription(String fieldDesc) throws RemoteException
      Sets the description of the canonical field of the data model.
      Parameters:
      fieldDesc - a String that describes the field(s) used by this component
      Throws:
      RemoteException - thrown for errors
    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      Retrieves the class name of this component's controller.
      Specified by:
      getControllerClassName in interface PComponent
      Overrides:
      getControllerClassName in class PIATextField
      Returns:
      A String with the value "com.portal.bas.comp.PIACanonFieldBeanImpl".
      Throws:
      RemoteException - thrown for errors
    • getAlternateFieldDescription

      public String getAlternateFieldDescription() throws RemoteException
      Sets the description of the canonical field of the data model.
      Returns:
      A String description of the alternate fields used by this component.
      Throws:
      RemoteException - thrown for errors
    • collectData

      public void collectData(PCollectDataEvent event)
      Overrides PCollectDataListener. Causes the controller to save changes to the data model. Done by BAS prior to committing changes to Portal.
      Specified by:
      collectData in interface PCollectDataListener
      Overrides:
      collectData in class PIATextField
      Parameters:
      event - the data collection event