public class DbSqlSession.CheckedDeleteOperation extends Object implements DbSqlSession.DeleteOperation
DbSqlSession.DeleteOperation that checks for concurrent modifications if the persistent object implements HasRevision. That is, it employs optimisting concurrency control. Used when the
persistent object has been fetched already.| Constructor and Description |
|---|
CheckedDeleteOperation(Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
void |
execute() |
Entity |
getEntity() |
Class<? extends Entity> |
getEntityClass() |
boolean |
sameIdentity(Entity other) |
String |
toString() |
protected final Entity entity
public CheckedDeleteOperation(Entity entity)
public Class<? extends Entity> getEntityClass()
getEntityClass in interface DbSqlSession.DeleteOperationpublic boolean sameIdentity(Entity other)
sameIdentity in interface DbSqlSession.DeleteOperationpublic void clearCache()
clearCache in interface DbSqlSession.DeleteOperationpublic void execute()
execute in interface DbSqlSession.DeleteOperationpublic Entity getEntity()
Copyright © 2015 Alfresco. All rights reserved.