|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sormula.operation.FullModify<R>
R
- class type which contains members for columns of a row in a table
@Deprecated public class FullModify<R>
Use ModifyOperation.modify(Object)
or
ModifyOperation.modifyAll(Collection)
or
ModifyOperation.modify(Object...)
instead of this class.
ModifyOperation
performed as prepare, execute, and close in one method. Base
class for FullInsert
, FullUpdate
, and FullDelete
.
Constructor Summary | |
---|---|
FullModify(ModifyOperation<R> modifyOperation)
Deprecated. Constructs for a modify operation. |
Method Summary | |
---|---|
int |
execute(R row)
Deprecated. Modifies one row. |
int |
executeAll(java.util.Collection<R> rows)
Deprecated. Modifies a collection of rows. |
int |
executeObject(java.lang.Object... parameters)
Deprecated. Modifies row(s) with sql parametes as Objects |
ModifyOperation<R> |
getModifyOperation()
Deprecated. Gets modify operation supplied in constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FullModify(ModifyOperation<R> modifyOperation)
modifyOperation
- perform for this modify operationMethod Detail |
---|
public ModifyOperation<R> getModifyOperation()
public int execute(R row) throws OperationException
row
- row to use for parameters
ModifyOperation.getRowsAffected()
OperationException
- if errorpublic int executeAll(java.util.Collection<R> rows) throws OperationException
rows
- collection of rows to use as parameters
ModifyOperation.getRowsAffected()
OperationException
- if errorpublic int executeObject(java.lang.Object... parameters) throws OperationException
parameters
- operation parameters as objects (see ModifyOperation.setParameters(Object...)
)
OperationException
- if error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |