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

Constructor Index

 o UpdateAccountOptionsQuery(AccountOptionsMessage)
Creates a new query.

Method Index

 o calculate(QueryDataSet)
Finalizes the query by changing the options values of the proper row in the dataset.
 o doValidationCheck()
Checks that the database manager has opened the database.
 o getSQLClause()
Returns the SQL query for creating the needed dataset.
 o isWriteQuery()
Returns true.

Constructors

 o UpdateAccountOptionsQuery
 public UpdateAccountOptionsQuery(AccountOptionsMessage m)
Creates a new query. Takes the updated options as a parameter.

Methods

 o 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
 o doValidationCheck
 public void doValidationCheck() throws ValidationException
Checks that the database manager has opened the database.

Overrides:
doValidationCheck in class DatabaseQuery
 o 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
 o isWriteQuery
 public boolean isWriteQuery()
Returns true.

Returns:
true.
Overrides:
isWriteQuery in class DatabaseQuery

All Packages  Class Hierarchy  This Package  Previous  Next  Index