Interface IVersionHistoryService

    • Method Detail

      • addVersion

        void addVersion​(String objectSchema,
                        String objectType,
                        String objectName,
                        int version)
        Add this version (idempotent)
        Parameters:
        objectSchema -
        objectType -
        objectName -
        version -
      • applies

        boolean applies​(String objectSchema,
                        String objectType,
                        String objectName,
                        int version)
        Check to see if we described object is newer than we have currently in the database
        Parameters:
        objectSchema -
        objectType -
        objectName -
        version -
        Returns:
      • getVersion

        Integer getVersion​(String objectSchema,
                           String objectType,
                           String objectName)
        Get the current version of an object
        Parameters:
        objectSchema -
        objectType -
        objectName -
        Returns:
        the current version of the given object or null if it doesn't exist