|
||||||||||
| 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.EventsInScheduleDelegate
public class EventsInScheduleDelegate
A delegate for combining the EVENTS and SCHEDULE table related queries.
![]() |
![]() |
| Field Summary |
|---|
| Fields inherited from class fi.paatti.paattidatabaseutils.dbservice.querydelegates.PaattiQueryDelegate |
|---|
ROWSTATUS_ACTIVE, ROWSTATUS_DELETED |
| Constructor Summary | |
|---|---|
EventsInScheduleDelegate(Object scheduleID)
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)
Returns a new StatementHelper containing the SELECT query statement. |
protected 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 EventsInScheduleDelegate(Object scheduleID)
scheduleID - The ID of the schedule.| 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
protected void setRowValues(PreparedStatement statement,
com.vaadin.data.util.sqlcontainer.RowItem row)
throws SQLException
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)
throws UnsupportedOperationException
getQueryStatement in interface com.vaadin.data.util.sqlcontainer.query.FreeformStatementDelegateoffset - the starting row.limit - the number of rows to get.
UnsupportedOperationException
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 | |||||||||