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.| Modifier and Type | Field and Description |
|---|---|
protected PersistentObject |
persistentObject |
| Constructor and Description |
|---|
DbSqlSession.CheckedDeleteOperation(PersistentObject persistentObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
void |
execute() |
PersistentObject |
getPersistentObject() |
boolean |
sameIdentity(PersistentObject other) |
String |
toString() |
protected final PersistentObject persistentObject
public DbSqlSession.CheckedDeleteOperation(PersistentObject persistentObject)
public boolean sameIdentity(PersistentObject other)
sameIdentity in interface DbSqlSession.DeleteOperationpublic void clearCache()
clearCache in interface DbSqlSession.DeleteOperationpublic void execute()
execute in interface DbSqlSession.DeleteOperationpublic PersistentObject getPersistentObject()
Copyright © 2014 Alfresco. All rights reserved.