Package com.sas.lsaf.core
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 Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION_ATTRIBUTE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getRevision()
-
-
-
Field Detail
-
REVISION_ATTRIBUTE
static final java.lang.String REVISION_ATTRIBUTE
- See Also:
- Constant Field Values
-
-