|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.rdbm.JoinQueryString
public abstract class JoinQueryString
Partial implemenation of IJoinQueryString which provides
the implemention of storing and retrieving join queries. It also
requires a test query be specified.
| Constructor Summary | |
|---|---|
protected |
JoinQueryString(String testQuery)
Creates a new JoinQueryString. |
| 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. |
protected String |
getTestJoin()
Gets the query to use to test if joins in this class are supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected JoinQueryString(String testQuery)
JoinQueryString.
testQuery - The query to use to test if joins in the class are supported.| Method Detail |
|---|
protected String getTestJoin()
public String getQuery(String key)
throws SQLException
IJoinQueryString
getQuery in interface IJoinQueryStringkey - The key to find the query for.
SQLException - Will be thrown if no query exists for the keyIJoinQueryString.getQuery(java.lang.String)
public void addQuery(String key,
String value)
throws SQLException
IJoinQueryString
addQuery in interface IJoinQueryStringkey - The key to store the query under.value - The query to store under the key.
SQLExceptionIJoinQueryString.addQuery(java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||