|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.activity.RequestComponent
|
+--uk.org.ogsadai.client.toolkit.activity.Activity
|
+--uk.org.ogsadai.client.toolkit.activity.ParameterizedActivity
|
+--uk.org.ogsadai.client.toolkit.activity.sql.SQLUpdate
This activity executes the given SQL statement, which may be an INSERT, UPDATE, or DELETE statement or an SQL statement that returns nothing, such as an SQL DDL statement. It has no inputs and one output that contains the number of rows modified by the statement.
| Constructor Summary | |
SQLUpdate(java.lang.String expression)
Constructs a SQL update with the given expression. |
|
| Method Summary | |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
java.lang.String |
getExpression()
Gets the SQL update expression. |
int |
getModifiedRowsCount()
Returns the number of rows modified by the update. |
ActivityOutput |
getOutput()
Gets the activity's only output. |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.ParameterizedActivity |
clearParameters, generateParametersXML, setParameter, setParameter |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getDataServiceStub, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setDataServiceStub, setInput |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SQLUpdate(java.lang.String expression)
expression - SQL expression to executed| Method Detail |
public java.lang.String getExpression()
public int getModifiedRowsCount()
throws ActivityOutputException,
DataFormatException
DataFormatException - If the output data is not in the expected format.
ActivityOutputException - If there is no output data.public ActivityOutput getOutput()
protected java.lang.String generateXML()
RequestComponent
generateXML in class Activity
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||