|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfi.paatti.paattidatabaseutils.dbservice.querydelegates.PaattiQueryDelegate
fi.paatti.paattidatabaseutils.dbservice.querydelegates.TaskQueryDelegate
public class TaskQueryDelegate
A delegate for TASK table.
![]() |
![]() |
| Field Summary |
|---|
| Fields inherited from class fi.paatti.paattidatabaseutils.dbservice.querydelegates.PaattiQueryDelegate |
|---|
ROWSTATUS_ACTIVE, ROWSTATUS_DELETED |
| Constructor Summary | |
|---|---|
TaskQueryDelegate(Object eventId)
Constructor. |
|
| Method Summary | |
|---|---|
com.vaadin.data.util.sqlcontainer.query.generator.StatementHelper |
getCountStatement()
Returns the row count from the delegate's table. |
com.vaadin.data.util.sqlcontainer.query.generator.StatementHelper |
getQueryStatement(int offset,
int limit)
Get the StatementHelper for the SELECT-query. |
void |
setRowValues(PreparedStatement statement,
com.vaadin.data.util.sqlcontainer.RowItem row)
Sets the values for the row. |
int |
storeRow(Connection conn,
com.vaadin.data.util.sqlcontainer.RowItem row)
Stores a row in the database. |
| Methods inherited from class fi.paatti.paattidatabaseutils.dbservice.querydelegates.PaattiQueryDelegate |
|---|
addNewiRowIdListener, fireNewRowIdEvent, getArrayAsStringWithAddedString, getArrayAsStringWithCommas, getArrayAsStringWithCommasAndWithoutIdColumn, getColumnNames, getContainsRowQueryStatement, getContainsRowQueryString, getCountQuery, getFilters, getFilterStringWithoutWhere, getIdColumn, getInsertQueryString, getInsertQueryString, getOrderBys, getQueryString, getTableName, getUpdateQueryString, getUpdateQueryString, getValuesString, removeNewRowIdListener, removeRow, setFilters, setOrderBy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskQueryDelegate(Object eventId)
eventId - The ID of the event.| Method Detail |
|---|
public int storeRow(Connection conn,
com.vaadin.data.util.sqlcontainer.RowItem row)
throws SQLException
storeRow in interface com.vaadin.data.util.sqlcontainer.query.FreeformQueryDelegatestoreRow in class PaattiQueryDelegateconn - The database connection.row - The row where the values will be set.
SQLException
public void setRowValues(PreparedStatement statement,
com.vaadin.data.util.sqlcontainer.RowItem row)
throws SQLException
PaattiColumnNames: TASK_rowStatus
TASK_TASKTYPE_taskTypeID
TASK_EVENT_eventID
TASK_sequence
TASK_url
TASK_content
TASK_description
TASK_taskID
setRowValues in class PaattiQueryDelegatestatement - The prepared statement where the values will be set.row - The row where the values will be taken from.
SQLException
public com.vaadin.data.util.sqlcontainer.query.generator.StatementHelper getQueryStatement(int offset,
int limit)
offset - Starting rowlimit - Number of rows to get.
public com.vaadin.data.util.sqlcontainer.query.generator.StatementHelper getCountStatement()
throws UnsupportedOperationException
getCountStatement in interface com.vaadin.data.util.sqlcontainer.query.FreeformStatementDelegategetCountStatement in class PaattiQueryDelegateUnsupportedOperationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||