|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PaattiMobileDBService
The interface for the mobile client.
![]() |
![]() |
| Method Summary | |
|---|---|
Object |
getCellValueFromTable(String tableName,
String columnName,
String IDColumn,
Object rowID)
Returns the value of the given column. |
com.vaadin.data.util.sqlcontainer.SQLContainer |
getChoiceContainer(Object eventID)
Returns all the choices that belong to the event with the given id. |
com.vaadin.data.util.sqlcontainer.SQLContainer |
getGroupUsers(Object groupID)
Returns all the users that belong to the group with the given id. |
com.vaadin.data.util.sqlcontainer.SQLContainer |
getSQLContainerFromDBTable(String tableName,
String nameOfIDColumn,
boolean noDeletedRows)
Queries the database for the given table and returns an SQLContainer containing the query results. |
com.vaadin.data.util.sqlcontainer.SQLContainer |
getSQLContainerFromDBTableFiltered(String tableName,
String nameOfIDColumn,
boolean noDeletedRows,
com.vaadin.data.Container.Filter filter)
Queries the database for the given table and returns an SQLContainer containing the query results. |
com.vaadin.data.util.sqlcontainer.SQLContainer |
getTaskContainer(Object eventID)
Returns all the tasks that belong to the event with the given id. |
com.vaadin.data.util.sqlcontainer.SQLContainer |
getUserEventData(Object userId)
Returns the event data from the user's finished events. |
com.vaadin.data.util.sqlcontainer.SQLContainer |
getUserUnfinishedEvents(Object userID)
Returns all the available events for the user. |
com.vaadin.data.util.sqlcontainer.SQLContainer |
getUserVoluntaryEvents(Object userID)
Returns all the voluntary events that are assigned to the user. |
boolean |
saveEventTaskData(Object userID,
Stack<TaskData> taskDataStack)
Saves all the data from a single event. |
| Method Detail |
|---|
com.vaadin.data.util.sqlcontainer.SQLContainer getSQLContainerFromDBTable(String tableName,
String nameOfIDColumn,
boolean noDeletedRows)
tableName - the name of the table.nameOfIDColumn - the name of the id column.noDeletedRows - whether to filter deleted rows or not.
com.vaadin.data.util.sqlcontainer.SQLContainer getSQLContainerFromDBTableFiltered(String tableName,
String nameOfIDColumn,
boolean noDeletedRows,
com.vaadin.data.Container.Filter filter)
tableName - the name of the table.nameOfIDColumn - the name of the ID columnnoDeletedRows - whether to filter deleted rows or not.filter - the filter to be used.
Object getCellValueFromTable(String tableName,
String columnName,
String IDColumn,
Object rowID)
tableName - the name of the table the column belongs to.columnName - the name of the column.IDColumn - the ID column of the table.rowID - the ID of the row where the value will be taken from.
boolean saveEventTaskData(Object userID,
Stack<TaskData> taskDataStack)
userID - the ID of the user.taskDataStack - the list of TaskData items.
com.vaadin.data.util.sqlcontainer.SQLContainer getUserUnfinishedEvents(Object userID)
userID - the ID of the user.
com.vaadin.data.util.sqlcontainer.SQLContainer getTaskContainer(Object eventID)
eventID - the ID of the event.
com.vaadin.data.util.sqlcontainer.SQLContainer getChoiceContainer(Object eventID)
eventID - the ID of the event.
com.vaadin.data.util.sqlcontainer.SQLContainer getGroupUsers(Object groupID)
groupID - the ID of the group.
com.vaadin.data.util.sqlcontainer.SQLContainer getUserVoluntaryEvents(Object userID)
userID - the ID of the user.
com.vaadin.data.util.sqlcontainer.SQLContainer getUserEventData(Object userId)
userId - the ID of the user.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||