org.activiti.engine.impl.db
类 DbSqlSession.BulkDeleteOperation

java.lang.Object
  继承者 org.activiti.engine.impl.db.DbSqlSession.BulkDeleteOperation
所有已实现的接口:
DbSqlSession.DeleteOperation
包容类:
DbSqlSession

public class DbSqlSession.BulkDeleteOperation
extends Object
implements DbSqlSession.DeleteOperation

Use this DbSqlSession.DeleteOperation to execute a dedicated delete statement. It is important to note there won't be any optimistic locking checks done for these kind of delete operations! For example, a usage of this operation would be to delete all variables for a certain execution, when that certain execution is removed. The optimistic locking happens on the execution, but the variables can be removed by a simple 'delete from var_table where execution_id is xxx'. It could very well be there are no variables, which would also work with this query, but not with the regular DbSqlSession.CheckedDeleteOperation.


构造方法摘要
DbSqlSession.BulkDeleteOperation(String statement, Object parameter)
           
 
方法摘要
 void clearCache()
           
 void execute()
           
 boolean sameIdentity(PersistentObject other)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

DbSqlSession.BulkDeleteOperation

public DbSqlSession.BulkDeleteOperation(String statement,
                                        Object parameter)
方法详细信息

sameIdentity

public boolean sameIdentity(PersistentObject other)
指定者:
接口 DbSqlSession.DeleteOperation 中的 sameIdentity

clearCache

public void clearCache()
指定者:
接口 DbSqlSession.DeleteOperation 中的 clearCache

execute

public void execute()
指定者:
接口 DbSqlSession.DeleteOperation 中的 execute

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013 Alfresco. All rights reserved.