Class BackupGroupRoot

    • Constructor Detail

      • BackupGroupRoot

        public BackupGroupRoot()
    • Method Detail

      • copyUpdateTimestamp

        protected void copyUpdateTimestamp​(BackupGroupRoot other)
        Copies updateTimestamp from another entity.

        This method is for the few cases when updateTimestamp is copied between different types of entities. Use ImmutableObject.clone(T) for same-type copying.

      • resetUpdateTimestamp

        protected void resetUpdateTimestamp()
        Resets the updateTimestamp to force Hibernate to persist it.

        This method is for use in setters in derived builders that do not result in the derived object being persisted.

      • setUpdateTimestamp

        protected void setUpdateTimestamp​(UpdateAutoTimestamp timestamp)
        Sets the updateTimestamp.

        This method is for use in the few places where we need to restore the update timestamp after mutating a collection in order to force the new timestamp to be persisted when it ordinarily wouldn't.