All Packages Class Hierarchy This Package Previous Next Index
Class tc.database.UpdateAccountOptionsQuery
java.lang.Object
|
+----tc.database.DatabaseQuery
|
+----tc.database.UpdateAccountOptionsQuery
- public class UpdateAccountOptionsQuery
- extends DatabaseQuery
UpdateAccountOptionsQuery
implements the abstract methods in
DatabaseQuery so that calling them causes account options update.
- Version:
- 0.30, 1998/04/01
- Author:
- FRED development team, Antti Viljamaa
-
UpdateAccountOptionsQuery(AccountOptionsMessage)
- Creates a new query.
-
calculate(QueryDataSet)
- Finalizes the query by changing the options values of the proper row in
the dataset.
-
doValidationCheck()
- Checks that the database manager has opened the database.
-
getSQLClause()
- Returns the SQL query for creating the needed dataset.
-
isWriteQuery()
- Returns
true
.
UpdateAccountOptionsQuery
public UpdateAccountOptionsQuery(AccountOptionsMessage m)
- Creates a new query. Takes the updated options as a parameter.
calculate
public void calculate(QueryDataSet dataset) throws DataSetException, ValidationException
- Finalizes the query by changing the options values of the proper row in
the dataset.
- Overrides:
- calculate in class DatabaseQuery
doValidationCheck
public void doValidationCheck() throws ValidationException
- Checks that the database manager has opened the database.
- Overrides:
- doValidationCheck in class DatabaseQuery
getSQLClause
public String getSQLClause()
- Returns the SQL query for creating the needed dataset.
- Returns:
- String A string representing the query.
- Overrides:
- getSQLClause in class DatabaseQuery
isWriteQuery
public boolean isWriteQuery()
- Returns
true
.
- Returns:
-
true
.
- Overrides:
- isWriteQuery in class DatabaseQuery
All Packages Class Hierarchy This Package Previous Next Index