Interface DataTypeArchiveChangeManager

  • All Known Implementing Classes:
    DataTypeArchiveDB

    public interface DataTypeArchiveChangeManager
    Interface to define event types and the method to generate an event within Program.
    • Field Detail

      • DOCR_CATEGORY_ADDED

        static final int DOCR_CATEGORY_ADDED
        Category was added.
        See Also:
        Constant Field Values
      • DOCR_CATEGORY_REMOVED

        static final int DOCR_CATEGORY_REMOVED
        Category was removed.
        See Also:
        Constant Field Values
      • DOCR_CATEGORY_RENAMED

        static final int DOCR_CATEGORY_RENAMED
        Category was renamed.
        See Also:
        Constant Field Values
      • DOCR_CATEGORY_MOVED

        static final int DOCR_CATEGORY_MOVED
        Category was moved.
        See Also:
        Constant Field Values
      • DOCR_DATA_TYPE_ADDED

        static final int DOCR_DATA_TYPE_ADDED
        Data type was added to a category.
        See Also:
        Constant Field Values
      • DOCR_DATA_TYPE_REMOVED

        static final int DOCR_DATA_TYPE_REMOVED
        Data type was removed from a category.
        See Also:
        Constant Field Values
      • DOCR_DATA_TYPE_RENAMED

        static final int DOCR_DATA_TYPE_RENAMED
        Data Type was renamed.
        See Also:
        Constant Field Values
      • DOCR_DATA_TYPE_MOVED

        static final int DOCR_DATA_TYPE_MOVED
        Data type was moved to another category.
        See Also:
        Constant Field Values
      • DOCR_DATA_TYPE_CHANGED

        static final int DOCR_DATA_TYPE_CHANGED
        Data type was updated.
        See Also:
        Constant Field Values
      • DOCR_DATA_TYPE_SETTING_CHANGED

        static final int DOCR_DATA_TYPE_SETTING_CHANGED
        The settings on a data type were updated.
        See Also:
        Constant Field Values
      • DOCR_DATA_TYPE_REPLACED

        static final int DOCR_DATA_TYPE_REPLACED
        Data type was replaced in a category.
        See Also:
        Constant Field Values
      • DOCR_CUSTOM_FORMAT_ADDED

        static final int DOCR_CUSTOM_FORMAT_ADDED
        A custom format for a data type was added.
        See Also:
        Constant Field Values
      • DOCR_CUSTOM_FORMAT_REMOVED

        static final int DOCR_CUSTOM_FORMAT_REMOVED
        A custom format for a data type was removed.
        See Also:
        Constant Field Values
    • Method Detail

      • setChanged

        void setChanged​(int type,
                        java.lang.Object oldValue,
                        java.lang.Object newValue)
        Mark the state of a Data Type Archive as having changed and generate the event of the specified type. Any or all parameters may be null.
        Parameters:
        type - event type
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event
      • setObjChanged

        void setObjChanged​(int type,
                           java.lang.Object affectedObj,
                           java.lang.Object oldValue,
                           java.lang.Object newValue)
        Mark the state of a Data Type Archive as having changed and generate the event of the specified type. Any or all parameters may be null.
        Parameters:
        type - event type
        affectedObj - object that is the subject of the event
        oldValue - original value or an Object that is related to the event
        newValue - new value or an Object that is related to the the event