Package wt.fc.batch
Class AbstractBatchSpec
java.lang.Object
wt.fc.batch.AbstractBatchSpec
- All Implemented Interfaces:
Externalizable,Serializable,BatchSpec
- Direct Known Subclasses:
DeleteBatchSpec,UpdateBatchSpec
This class specifies the contract for processing multiple row update
and delete operations.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendWhere(WTCollection a_objects, boolean a_checkUpdateCount, LogicalOperator a_logicalOperator) This method appends a WhereEpression to include the specified objects by object ID.voidappendWhere(WhereExpression a_where, LogicalOperator a_logicalOperator) Appends the WhereExpression to the WHERE clause.Gets the value of the attribute: target; The target of the operation.getWhere()Gets the value of the attribute: where; Criteria to use for the operation.voidsetTarget(ClassTableExpression a_Target) Sets the value of the attribute: target; The target of the operation.voidsetWhere(WhereExpression a_Where) Sets the value of the attribute: where; Criteria to use for the operation.
-
Method Details
-
getTarget
Gets the value of the attribute: target; The target of the operation.
Supported API: true- Returns:
- ClassTableExpression
-
setTarget
Sets the value of the attribute: target; The target of the operation.
Supported API: true- Parameters:
a_Target-- Throws:
WTPropertyVetoException
-
getWhere
Gets the value of the attribute: where; Criteria to use for the operation.
Supported API: true- Returns:
- WhereExpression
-
setWhere
Sets the value of the attribute: where; Criteria to use for the operation.
Supported API: true- Parameters:
a_Where-- Throws:
WTPropertyVetoException
-
appendWhere
public void appendWhere(WhereExpression a_where, LogicalOperator a_logicalOperator) throws WTPropertyVetoException Appends the WhereExpression to the WHERE clause.
Supported API: true- Parameters:
a_where- The WhereExpression to append.a_logicalOperator- The logical operator to use when appending, if there is an existing Where expression.- Throws:
WTPropertyVetoException
-
appendWhere
public void appendWhere(WTCollection a_objects, boolean a_checkUpdateCount, LogicalOperator a_logicalOperator) throws WTException, WTPropertyVetoException This method appends a WhereEpression to include the specified objects by object ID.
Supported API: true- Parameters:
a_objects- Objects to build expression fora_checkUpdateCount- If true, then the update counts of the objects are included in the criteria.a_logicalOperator- The logical operator to use when appending, if there is an existing Where expression.- Throws:
WTExceptionWTPropertyVetoException
-