Class RepositoryDataEntityVersioningSupplement

    • Constructor Detail

      • RepositoryDataEntityVersioningSupplement

        public RepositoryDataEntityVersioningSupplement​(@NotNull
                                                        @NotNull BambooClusterSettings bambooClusterSettings)
    • Method Detail

      • incrementVersion

        public void incrementVersion​(@Nullable
                                     @Nullable RepositoryDataEntity object,
                                     @Nullable
                                     @Nullable org.hibernate.Session session)
        Description copied from interface: VersioningSupplement
        Increments the version of the given object.
        Parameters:
        object - the object to increment the version of
        session - the session to use for incrementing the version
      • incrementVersion

        public void incrementVersion​(long id,
                                     @Nullable
                                     @Nullable org.hibernate.Session session)