Package systextil.nxj

Interface DataViewListener

All Known Implementing Classes:
DataViewController, FormController

public interface DataViewListener
Contém os eventos de data views, e permite definir esses eventos nas classes controller para serem usados em formulários que as usam.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The afterAdd event is invoked after the database INSERT that is performed on behalf of an ADD_UPDATE operation.
    void
    The afterDelete event is invoked after a DELETE operation is performed.
    void
    The afterFind event is invoked after a FIND operation is performed.
    void
    The afterUpdate event is invoked after the database UADD/PDATE that is performed on behalf of an ADD_UPDATE operation.
    void
    The afterUpdate event is invoked after the database UPDATE that is performed on behalf of an ADD_UPDATE operation.
    void
    The beforeAdd event is invoked before a database INSERT is performed on behalf of an ADD_UPDATE operation.
    void
    The beforeDelete event is invoked before a DELETE operation is performed.
    void
    The beforeFind event is invoked before a FIND operation is performed.
    void
    The beforeRecord event is called before a stored record is made current in the selected set.
    void
    The beforeSave event is invoked before a database UPDATE is performed on behalf of an ADD_UPDATE operation.
    void
    The beforeUpdate event is invoked before a database UPDATE is performed on behalf of an ADD_UPDATE operation.
    void
    The initDataView event is called when the form containing the data view is initializing.
    void
    The onClearToAdd event is called when a CLEAR_TO_ADD operation is performed on the data view.
    void
    The onClearToFind event is called when a CLEAR_TO_FIND operation is performed on the data view.
    void
    The onFind event is invoked on each row retrieved by a FIND operation.
    void
    The onLeave event is called when focus moves to a field in another dataview.
    void
    The onNextRecord event is called when a NEXT_RECORD, NEXT_SET, or LAST_RECORD operation is performed.
    void
    The onPreviousRecord event is called when a PREVIOUS_RECORD, PREVIOUS_SET, or FIRST_RECORD operation is performed.
  • Method Details

    • afterAdd

      void afterAdd() throws Exception
      The afterAdd event is invoked after the database INSERT that is performed on behalf of an ADD_UPDATE operation.
      Throws:
      Exception - when an error occurred
    • afterDelete

      void afterDelete() throws Exception
      The afterDelete event is invoked after a DELETE operation is performed.
      Throws:
      Exception - when an error occurred
    • afterFind

      void afterFind() throws Exception
      The afterFind event is invoked after a FIND operation is performed.
      Throws:
      Exception - when an error occurred
    • afterSave

      void afterSave() throws Exception
      The afterUpdate event is invoked after the database UADD/PDATE that is performed on behalf of an ADD_UPDATE operation.
      Throws:
      Exception - when an error occurred
    • afterUpdate

      void afterUpdate() throws Exception
      The afterUpdate event is invoked after the database UPDATE that is performed on behalf of an ADD_UPDATE operation.
      Throws:
      Exception - when an error occurred
    • beforeAdd

      void beforeAdd() throws Exception
      The beforeAdd event is invoked before a database INSERT is performed on behalf of an ADD_UPDATE operation.
      Throws:
      Exception - when an error occurred
    • beforeDelete

      void beforeDelete() throws Exception
      The beforeDelete event is invoked before a DELETE operation is performed.
      Throws:
      Exception - when an error occurred
    • beforeFind

      void beforeFind() throws Exception
      The beforeFind event is invoked before a FIND operation is performed.
      Throws:
      Exception - when an error occurred
    • beforeRecord

      void beforeRecord() throws Exception
      The beforeRecord event is called before a stored record is made current in the selected set.
      Throws:
      Exception - when an error occurred
    • beforeSave

      void beforeSave() throws Exception
      The beforeSave event is invoked before a database UPDATE is performed on behalf of an ADD_UPDATE operation.
      Throws:
      Exception - when an error occurred
    • beforeUpdate

      void beforeUpdate() throws Exception
      The beforeUpdate event is invoked before a database UPDATE is performed on behalf of an ADD_UPDATE operation.
      Throws:
      Exception - when an error occurred
    • initDataView

      void initDataView() throws Exception
      The initDataView event is called when the form containing the data view is initializing.
      Throws:
      Exception - when an error occurred
    • onClearToAdd

      void onClearToAdd() throws Exception
      The onClearToAdd event is called when a CLEAR_TO_ADD operation is performed on the data view.
      Throws:
      Exception - when an error occurred
    • onClearToFind

      void onClearToFind() throws Exception
      The onClearToFind event is called when a CLEAR_TO_FIND operation is performed on the data view.
      Throws:
      Exception - when an error occurred
    • onFind

      void onFind() throws Exception
      The onFind event is invoked on each row retrieved by a FIND operation.
      Throws:
      Exception - when an error occurred
    • onLeave

      void onLeave() throws Exception
      The onLeave event is called when focus moves to a field in another dataview.
      Throws:
      Exception - when an error occurred
    • onNextRecord

      void onNextRecord() throws Exception
      The onNextRecord event is called when a NEXT_RECORD, NEXT_SET, or LAST_RECORD operation is performed.
      Throws:
      Exception - when an error occurred
    • onPreviousRecord

      void onPreviousRecord() throws Exception
      The onPreviousRecord event is called when a PREVIOUS_RECORD, PREVIOUS_SET, or FIRST_RECORD operation is performed.
      Throws:
      Exception - when an error occurred