|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.persistence.generic.dto.AbstractDto
AbstractIntOptimisticLockingDto instead.
public abstract class AbstractDto
This abstract dto brings some basic elements for managing optimistic locking.
Optimistic locking is implemented by using a
PrimaryKeyGenerator. Primary key are strings in this case.
AbstractIntOptimisticLockingDto,
Serialized Form| Constructor Summary | |
|---|---|
AbstractDto()
Deprecated. |
|
| Method Summary | |
|---|---|
String |
getCurrentModificationKey()
Deprecated. This method will be called to get the current modification key, which will be used to save the current modification key as the last modification key on database. |
String |
getLastModificationKey()
Deprecated. |
void |
setLastModificationKey(String lastModificationKey)
Deprecated. |
void |
setModificationKeyGenerator(PrimaryKeyGenerator modificationKeyGenerator)
Deprecated. |
void |
useNextModificationKey()
Deprecated. This method will be called by user if this dto was written to database and so the last modification key has been replaced by the current modification key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDto()
| Method Detail |
|---|
public void setModificationKeyGenerator(PrimaryKeyGenerator modificationKeyGenerator)
modificationKeyGenerator - Is the modificationKeyGenerator to set.public String getLastModificationKey()
public void setLastModificationKey(String lastModificationKey)
lastModificationKey - The lastModificationKey to set.public String getCurrentModificationKey()
public void useNextModificationKey()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||