Interface IVersionHistoryService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addVersion​(java.lang.String objectSchema, java.lang.String objectType, java.lang.String objectName, int version)
      Add this version (idempotent)
      boolean applies​(java.lang.String objectSchema, java.lang.String objectType, java.lang.String objectName, int version)
      Check to see if we described object is newer than we have currently in the database
      java.lang.Integer getVersion​(java.lang.String objectSchema, java.lang.String objectType, java.lang.String objectName)
      Get the current version of an object
    • Method Detail

      • addVersion

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

        boolean applies​(java.lang.String objectSchema,
                        java.lang.String objectType,
                        java.lang.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

        java.lang.Integer getVersion​(java.lang.String objectSchema,
                                     java.lang.String objectType,
                                     java.lang.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