borland Packages Class Hierarchy sql.dataset Package Index
java.lang.Object +----borland.jbcl.dataset.Resolver +----borland.sql.dataset.SQLResolver +----borland.sql.dataset.QueryResolver +----borland.sql.dataset.ProcedureResolver
Properties Methods Event Listeners
Implements Serializable
This class allows for alternate implementations of the actual behavior required to save changes made to a QueryDataSet for example, to its database data source.
The SQLResolutionManager requires a Resolver that extends this class. The saveChanges() method of a QueryDataSet and ProcedureDataSet instantiate a SQLResolutionManager. The Resolver of a QueryDataSet should therefore be an instance of a class that extends SQLResolver, such as the QueryResolver.
public abstract Database getDatabase() public abstract void setDatabase(borland.sql.dataset.Database database)Specifies the Database that is the target of the data changes.
public abstract void closeStatements(borland.jbcl.dataset.StorageDataSet dataSet)Closes any open statements cached by a Resolver.
public abstract void deleteRow(borland.jbcl.dataset.DataSet dataSet)Instructs the Resolver to delete the current row in the DataSet from the Database.
public ResolverListener fetchResolverListener()A Resolver can optionally have a resolverListener property. This method allows the ResolutionManager to get the listener. It then issues events before and after each change to the Database.
public abstract void insertRow(borland.jbcl.dataset.DataSet dataSet)Instructs the Resolver to insert the current row of the DataSet into the Database.
public void resolveData(borland.jbcl.dataset.DataSet dataSet)Calls the saveChanges() method on the current Database.
Overrides: borland.jbcl.dataset.Resolver.resolveData(borland.jbcl.dataset.DataSet)
public abstract void updateRow(borland.jbcl.dataset.DataSet dataSet, borland.jbcl.dataset.ReadWriteRow oldRow)Instructs the Resolver to update the current row of the DataSet in the Database.
public synchronized void addResolverListener(borland.jbcl.dataset.ResolverListener listener) public synchronized void removeResolverListener(borland.jbcl.dataset.ResolverListener listener)