org.jasig.portal.rdbm
Interface IJoinQueryString

All Known Implementing Classes:
DatabaseMetaDataImpl.JdbcDb, DatabaseMetaDataImpl.OracleDb, DatabaseMetaDataImpl.PostgreSQLDb, JoinQueryString

public interface IJoinQueryString

The join query interface defines methods for storing and retrieving queries fragments that will be used for performing joins in SQL.

Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $
Author:
Eric Dalquist edalquist@unicon.net

Method Summary
 void addQuery(String key, String value)
          Adds a query for the specified key, overwriting and query that was already associated with the key.
 String getQuery(String key)
          Gets a query by the specified key.
 

Method Detail

getQuery

String getQuery(String key)
                throws SQLException
Gets a query by the specified key.

Parameters:
key - The key to find the query for.
Returns:
The query for the key.
Throws:
SQLException - Will be thrown if no query exists for the key

addQuery

void addQuery(String key,
              String value)
              throws SQLException
Adds a query for the specified key, overwriting and query that was already associated with the key.

Parameters:
key - The key to store the query under.
value - The query to store under the key.
Throws:
SQLException


Copyright © 2010 Jasig. All Rights Reserved.