|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.batch.AbstractBatchSpec
wt.fc.batch.UpdateBatchSpec
This class implements processing multiple row update operations.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private UpdateColumnExpression[] |
updateColumns
|
Fields inherited from class wt.fc.batch.AbstractBatchSpec |
DEBUG |
Constructor Summary | |
UpdateBatchSpec()
This constructor initializes the instance. |
|
UpdateBatchSpec(ClassTableExpression a_target,
WhereExpression a_where,
UpdateColumnExpression[] a_updateColumns)
This constructor initializes the instance. |
Method Summary | |
UpdateColumnExpression[] |
getUpdateColumns()
Gets the value of the attribute: updateColumns; Array of individual columns and expressions that will be updated. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(UpdateBatchSpec thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setUpdateColumns(UpdateColumnExpression[] a_UpdateColumns)
Sets the value of the attribute: updateColumns; Array of individual columns and expressions that will be updated. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.fc.batch.AbstractBatchSpec |
appendWhere, appendWhere, getTarget, getWhere, isChunkingEnabled, readVersion, setChunkingEnabled, setTarget, setWhere |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private UpdateColumnExpression[] updateColumns
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public UpdateBatchSpec()
public UpdateBatchSpec(ClassTableExpression a_target, WhereExpression a_where, UpdateColumnExpression[] a_updateColumns) throws WTPropertyVetoException
a_target
- Target of the operation.a_where
- Criteria to use for the operation.a_updateColumns
- Columns to update.
WTPropertyVetoException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractBatchSpec
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractBatchSpec
input
-
IOException
ClassNotFoundException
protected boolean readVersion(UpdateBatchSpec thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public UpdateColumnExpression[] getUpdateColumns()
public void setUpdateColumns(UpdateColumnExpression[] a_UpdateColumns) throws WTPropertyVetoException
a_UpdateColumns
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |