Class PIANotesPanel

All Implemented Interfaces:
PSaveable, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewComponent, PViewDataChangeListener, ContainerListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
Direct Known Subclasses:
PNotesPanel

public abstract class PIANotesPanel extends PIAPanel implements PSaveable
PIANotesPanel is the view component for Notes Panel
See Also:
  • Constructor Details

    • PIANotesPanel

      public PIANotesPanel()
      Creates the PIANotesPanel instance
  • Method Details

    • getNewNotes

      protected abstract String getNewNotes()
    • getOldNotes

      protected abstract String getOldNotes()
    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      Description copied from class: PIAPanel
      Retrieves the class name of this component's controller.
      Specified by:
      getControllerClassName in interface PComponent
      Overrides:
      getControllerClassName in class PIAPanel
      Returns:
      A String with the name of the controller.
      Throws:
      RemoteException - thrown for errors
    • save

      public com.portal.app.util.CustomerValErrorData[] save()
      Implements the PSaveable interface save() method send the Notes string to Controller's saveNotes() method In this method the date stamp of current time is appended to the Notes string. Date format is "EEEE, MMMM d, yyyy hh:mm:ss a" This format needs to be localized.
      Specified by:
      save in interface PSaveable
      Returns:
      an array describing any errors encountered while saving