com.ebasetech.ufs.utility
Interface PersistentQueryable


public interface PersistentQueryable

The subset of persistence methods that objects must implement to support load


Method Summary
 java.lang.String getIdentifier()
          Answers a sensible identifier for use in error messages for this query
 java.lang.String getQuerySQL()
          Answer the query SQL to be executed
 void processResultRow(java.sql.ResultSet rs, com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
          Do something useful with the current row of the resultant ResultSet
 void setStatementParams(int i, java.sql.PreparedStatement stmt)
          Set the values of the ? params in the prepared statement
 

Method Detail

getQuerySQL

public java.lang.String getQuerySQL()
Answer the query SQL to be executed


setStatementParams

public void setStatementParams(int i,
                               java.sql.PreparedStatement stmt)
                        throws java.sql.SQLException
Set the values of the ? params in the prepared statement

Throws:
java.sql.SQLException

processResultRow

public void processResultRow(java.sql.ResultSet rs,
                             com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
                      throws java.sql.SQLException
Do something useful with the current row of the resultant ResultSet

Throws:
java.sql.SQLException

getIdentifier

public java.lang.String getIdentifier()
Answers a sensible identifier for use in error messages for this query