|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FreeformQueryDelegate
| Method Summary | |
|---|---|
java.lang.String |
getContainsRowQueryString(java.lang.Object... keys)
Deprecated. As of 6.7. Implement FreeformStatementDelegate
instead of FreeformQueryDelegate |
java.lang.String |
getCountQuery()
Deprecated. As of 6.7. Implement FreeformStatementDelegate
instead of FreeformQueryDelegate |
java.lang.String |
getQueryString(int offset,
int limit)
Deprecated. As of 6.7. Implement FreeformStatementDelegate
instead of FreeformQueryDelegate |
boolean |
removeRow(java.sql.Connection conn,
RowItem row)
Removes the given RowItem from the database. |
void |
setFilters(java.util.List<Container.Filter> filters)
Sets the filters to apply when performing the SQL query. |
void |
setOrderBy(java.util.List<OrderBy> orderBys)
Sets the order in which to retrieve rows from the database. |
int |
storeRow(java.sql.Connection conn,
RowItem row)
Stores a row in the database. |
| Method Detail |
|---|
@Deprecated
java.lang.String getQueryString(int offset,
int limit)
throws java.lang.UnsupportedOperationException
FreeformStatementDelegate
instead of FreeformQueryDelegate
offset - the first record (row) to fetch.pagelength - the number of records (rows) to fetch. 0 means all records
starting from offset.
java.lang.UnsupportedOperationException
@Deprecated
java.lang.String getCountQuery()
throws java.lang.UnsupportedOperationException
FreeformStatementDelegate
instead of FreeformQueryDelegate
java.sql.SQLException
java.lang.UnsupportedOperationException
void setFilters(java.util.List<Container.Filter> filters)
throws java.lang.UnsupportedOperationException
filters - The filters to apply.
java.lang.UnsupportedOperationException - if the implementation doesn't support filtering.
void setOrderBy(java.util.List<OrderBy> orderBys)
throws java.lang.UnsupportedOperationException
orderBys - A list of the OrderBy conditions.
java.lang.UnsupportedOperationException - if the implementation doesn't support ordering.
int storeRow(java.sql.Connection conn,
RowItem row)
throws java.lang.UnsupportedOperationException,
java.sql.SQLException
conn - the JDBC connection to userow - RowItem to be stored or updated.
java.lang.UnsupportedOperationException - if the implementation is read only.
java.sql.SQLException
boolean removeRow(java.sql.Connection conn,
RowItem row)
throws java.lang.UnsupportedOperationException,
java.sql.SQLException
conn - the JDBC connection to userow - RowItem to be removed
java.lang.UnsupportedOperationException
java.sql.SQLException
@Deprecated
java.lang.String getContainsRowQueryString(java.lang.Object... keys)
throws java.lang.UnsupportedOperationException
FreeformStatementDelegate
instead of FreeformQueryDelegate
keys - the values of the primary keys
java.lang.UnsupportedOperationException - to use the default logic in FreeformQuery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||