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