Interface Revisionable

  • All Known Implementing Classes:
    AbstractRevisionable, TlfTemplate

    public interface Revisionable
    This interface is to be implemented by a service level DTO. Persistable requires that an internal version of an object be maintained in persistence. This is to handle concurrent modifications. If an object is attempted to be persisted whose internal version doesn't match the persisted internal version, a ConcurrentModificationException is thrown. This enforcement is done at the DAO impl level or within the persistence mechanism itself.
    • Field Detail

    • Method Detail

      • getRevision

        long getRevision()