|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.data.util.sqlcontainer.SQLContainer
fi.paatti.containers.TaskContainer
public class TaskContainer
An extended SQLContainer has a possibility to add a listener for getting the new row ID after succesful insert to the database.
![]() |
![]() |
![]() |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.vaadin.data.util.sqlcontainer.SQLContainer |
|---|
com.vaadin.data.util.sqlcontainer.SQLContainer.ItemSetChangeEvent |
| Nested classes/interfaces inherited from interface com.vaadin.data.Container |
|---|
com.vaadin.data.Container.Editor, com.vaadin.data.Container.Filter, com.vaadin.data.Container.Filterable, com.vaadin.data.Container.Hierarchical, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeListener, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.PropertySetChangeEvent, com.vaadin.data.Container.PropertySetChangeListener, com.vaadin.data.Container.PropertySetChangeNotifier, com.vaadin.data.Container.SimpleFilterable, com.vaadin.data.Container.Sortable, com.vaadin.data.Container.Viewer |
| Field Summary |
|---|
| Fields inherited from class com.vaadin.data.util.sqlcontainer.SQLContainer |
|---|
CACHE_RATIO, DEFAULT_PAGE_LENGTH |
| Constructor Summary | |
|---|---|
TaskContainer(com.vaadin.data.util.sqlcontainer.query.FreeformQuery query)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addNewRowIdChangeListener(NewRowIDListener listener)
Adds a NewRowIDListener to the list of listeners. |
void |
removeNewRowIdChangeListener(NewRowIDListener listener)
Removes a NewRowIDListener from the list of listeners. |
| Methods inherited from class com.vaadin.data.util.sqlcontainer.SQLContainer |
|---|
addContainerFilter, addContainerFilter, addContainerProperty, addItem, addItem, addItemAfter, addItemAfter, addItemAt, addItemAt, addListener, addListener, addOrderBy, addReference, commit, containsId, enableCacheFlushNotifications, fireContentsChange, firstItemId, getContainerProperty, getContainerPropertyIds, getIdByIndex, getItem, getItemIds, getItemUnfiltered, getPageLength, getQueryDelegate, getReferencedItem, getReferencedItemId, getSortableContainerPropertyIds, getType, indexOfId, isAutoCommit, isFirstId, isLastId, isModified, lastItemId, nextItemId, prevItemId, refresh, removeAllContainerFilters, removeAllItems, removeContainerFilter, removeContainerFilters, removeContainerProperty, removeItem, removeListener, removeListener, removeReference, rollback, setAutoCommit, setPageLength, setReferencedItem, size, sort |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskContainer(com.vaadin.data.util.sqlcontainer.query.FreeformQuery query)
throws SQLException
query - The FreeformQuery to be used.
SQLException.
SQLException| Method Detail |
|---|
public void addNewRowIdChangeListener(NewRowIDListener listener)
listener - The listener to be added.public void removeNewRowIdChangeListener(NewRowIDListener listener)
listener - The listener to be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||