|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.queryframework.DatabaseQuery
oracle.toplink.queryframework.ModifyQuery
oracle.toplink.queryframework.ModifyAllQuery
public abstract class ModifyAllQuery
Query used to perform a bulk delete using TopLink's expression framework.
Field Summary | |
---|---|
static int |
INVALIDATE_CACHE |
static int |
NO_CACHE Cache usage flags |
Fields inherited from class oracle.toplink.queryframework.DatabaseQuery |
---|
CascadeAggregateDelete, CascadeAllParts, CascadeByMapping, CascadeDependentParts, CascadePrivateParts, NoCascading |
Constructor Summary | |
---|---|
ModifyAllQuery() |
|
ModifyAllQuery(java.lang.Class referenceClass) Create a new update all query for the class specified. |
|
ModifyAllQuery(java.lang.Class referenceClass, Expression selectionCriteria) Create a new update all query for the class and the selection criteria specified. |
Method Summary | |
---|---|
int |
getCacheUsage() Return the cache usage for this query. |
ExpressionBuilder |
getExpressionBuilder() Get the expression builder which should be used for this query. |
java.lang.Class |
getReferenceClass() Return the reference class for this query. |
boolean |
isModifyQuery() Return true if this is a modify query. |
void |
setCacheUsage(int cacheUsage) Set the level of cache support for this query, either NONE or INVALIDATE. |
void |
setReferenceClass(java.lang.Class referenceClass) Set the reference class this query. |
void |
setShouldDeferExecutionInUOW(boolean shouldDeferExecutionInUOW) Set a flag indicating whether execution should be deferred in UOW until commit. |
boolean |
shouldDeferExecutionInUOW() Indicates whether execution should be deferred in UOW until commit. |
Methods inherited from class oracle.toplink.queryframework.ModifyQuery |
---|
forceBatchStatementExecution, setForceBatchStatementExecution |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NO_CACHE
ModifyAllQuery
public static final int INVALIDATE_CACHE
Constructor Detail |
---|
public ModifyAllQuery()
public ModifyAllQuery(java.lang.Class referenceClass)
public ModifyAllQuery(java.lang.Class referenceClass, Expression selectionCriteria)
Method Detail |
---|
public boolean isModifyQuery()
isModifyQuery
in class ModifyQuery
public int getCacheUsage()
public ExpressionBuilder getExpressionBuilder()
public java.lang.Class getReferenceClass()
getReferenceClass
in class DatabaseQuery
public void setCacheUsage(int cacheUsage)
public void setReferenceClass(java.lang.Class referenceClass)
public void setShouldDeferExecutionInUOW(boolean shouldDeferExecutionInUOW)
public boolean shouldDeferExecutionInUOW()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |