|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SqlHeading
Provides methods used by the SQL compilation of resource heading data.
| Method Summary | |
|---|---|
java.lang.String |
sqlFilterClause(java.util.Properties properties)
Return a WHERE clause (without the "WHERE" or "AND" string) that selects resources in this heading. |
void |
sqlMap(java.sql.Connection connection,
SqlResource resource)
Create the SQL representation of the mapping between a Resource and this Heading. |
void |
sqlUnmap(java.sql.Connection connection,
SqlResource resource)
|
| Method Detail |
|---|
java.lang.String sqlFilterClause(java.util.Properties properties)
vendor argument
specifies the vendor dialect of SQL to return, and can
be ignored for vanilla SQL.
Method may also return null, to indicate no filtering should be done (i.e. this heading selects all resources).
Default is to filter nothing (i.e. select everything).
void sqlMap(java.sql.Connection connection,
SqlResource resource)
throws java.sql.SQLException
java.sql.SQLException
void sqlUnmap(java.sql.Connection connection,
SqlResource resource)
throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||