com.ebasetech.ufs.utility
Interface PersistentLoadable

All Superinterfaces:
PersistentCommon
All Known Subinterfaces:
Persistent, PersistentOptimistic, PersistentUpdateable

public interface PersistentLoadable
extends PersistentCommon

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


Method Summary
 java.lang.String getLoadSQL()
          Answer the loading SQL used to create the prepared statement answered by getLoadStatement()
 void populate(java.sql.ResultSet rs)
          Populate the receiver without bothering about any associated objects
 void populate(java.sql.ResultSet rs, com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
          Using the supplied result set, populate the receiver using the values found in the current row in the result set.
 
Methods inherited from interface com.ebasetech.ufs.utility.PersistentCommon
bindKeys, getIdentifier, getTableName
 

Method Detail

populate

public void populate(java.sql.ResultSet rs,
                     com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
              throws java.sql.SQLException,
                     PersistenceException
Using the supplied result set, populate the receiver using the values found in the current row in the result set. Also populate any associated objects if required, using the supplied connection.

Parameters:
proxy - the connection used to create the supplied result set
Throws:
java.sql.SQLException
PersistenceException

populate

public void populate(java.sql.ResultSet rs)
              throws java.sql.SQLException
Populate the receiver without bothering about any associated objects

Throws:
java.sql.SQLException

getLoadSQL

public java.lang.String getLoadSQL()
Answer the loading SQL used to create the prepared statement answered by getLoadStatement()