public static class VaadinContainerDataSourceAdapter.LazyQueryContainerAdapter extends Object implements IVaadinContainerDataSourceAdapter.FullyCapableContainer
| Constructor and Description |
|---|
LazyQueryContainerAdapter(org.vaadin.addons.lazyquerycontainer.LazyQueryContainer container)
Constructs the decorator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addContainerFilter(com.vaadin.data.Container.Filter filter) |
boolean |
addContainerProperty(Object propertyId,
Class<?> type,
Object defaultValue) |
boolean |
addContainerProperty(Object propertyId,
Class<?> type,
Object defaultValue,
boolean readOnly,
boolean sortable) |
Object |
addItem() |
com.vaadin.data.Item |
addItem(Object itemId) |
Object |
addItemAfter(Object previousItemId) |
com.vaadin.data.Item |
addItemAfter(Object previousItemId,
Object newItemId) |
Object |
addItemAt(int index) |
com.vaadin.data.Item |
addItemAt(int index,
Object newItemId) |
void |
addItemSetChangeListener(com.vaadin.data.Container.ItemSetChangeListener listener) |
void |
addListener(com.vaadin.data.Container.ItemSetChangeListener listener) |
void |
addListener(com.vaadin.data.Container.PropertySetChangeListener listener) |
void |
addPropertySetChangeListener(com.vaadin.data.Container.PropertySetChangeListener listener) |
void |
commit() |
boolean |
containsId(Object itemId) |
void |
discard() |
boolean |
equals(Object obj) |
Object |
firstItemId() |
Collection<com.vaadin.data.Container.Filter> |
getContainerFilters() |
com.vaadin.data.Property |
getContainerProperty(Object itemId,
Object propertyId) |
Collection<?> |
getContainerPropertyIds() |
Object |
getIdByIndex(int index) |
com.vaadin.data.Item |
getItem(Object itemId) |
Collection<?> |
getItemIds() |
List<?> |
getItemIds(int startIndex,
int numberOfItems) |
Collection<?> |
getSortableContainerPropertyIds() |
Class<?> |
getType(Object propertyId) |
int |
hashCode() |
int |
indexOfId(Object itemId) |
boolean |
isBuffered() |
boolean |
isFirstId(Object itemId) |
boolean |
isLastId(Object itemId) |
boolean |
isModified() |
Object |
lastItemId() |
Object |
nextItemId(Object itemId) |
Object |
prevItemId(Object itemId) |
void |
refresh() |
void |
removeAllContainerFilters() |
boolean |
removeAllItems() |
void |
removeContainerFilter(com.vaadin.data.Container.Filter filter) |
boolean |
removeContainerProperty(Object propertyId) |
boolean |
removeItem(Object itemId) |
void |
removeItemSetChangeListener(com.vaadin.data.Container.ItemSetChangeListener listener) |
void |
removeListener(com.vaadin.data.Container.ItemSetChangeListener listener) |
void |
removeListener(com.vaadin.data.Container.PropertySetChangeListener listener) |
void |
removePropertySetChangeListener(com.vaadin.data.Container.PropertySetChangeListener listener) |
void |
setBuffered(boolean buffered) |
int |
size() |
void |
sort(Object[] sortPropertyIds,
boolean[] ascendingStates) |
String |
toString() |
public LazyQueryContainerAdapter(org.vaadin.addons.lazyquerycontainer.LazyQueryContainer container)
container - lazy query container to be decorated.public void sort(Object[] sortPropertyIds, boolean[] ascendingStates)
sort in interface com.vaadin.data.Container.SortableLazyQueryContainer.sort(Object[], boolean[])public Collection<?> getContainerPropertyIds()
getContainerPropertyIds in interface com.vaadin.data.Containerpublic Collection<?> getSortableContainerPropertyIds()
getSortableContainerPropertyIds in interface com.vaadin.data.Container.SortableLazyQueryContainer.getSortableContainerPropertyIds()public Class<?> getType(Object propertyId)
getType in interface com.vaadin.data.Containerpublic boolean addContainerProperty(Object propertyId, Class<?> type, Object defaultValue)
addContainerProperty in interface com.vaadin.data.Containerpublic boolean addContainerProperty(Object propertyId, Class<?> type, Object defaultValue, boolean readOnly, boolean sortable)
addContainerProperty in interface IVaadinContainerDataSourceAdapter.FullyCapableContainerpropertyId - - see linked javadoctype - - see linked javadocdefaultValue - - see linked javadocreadOnly - - see linked javadocsortable - - see linked javadocLazyQueryContainer.addContainerProperty(Object, Class, Object, boolean, boolean)public boolean removeContainerProperty(Object propertyId)
removeContainerProperty in interface com.vaadin.data.Containerpublic int size()
size in interface com.vaadin.data.Containerpublic Collection<?> getItemIds()
getItemIds in interface com.vaadin.data.Containerpublic com.vaadin.data.Item getItem(Object itemId)
getItem in interface com.vaadin.data.Containerpublic com.vaadin.data.Property getContainerProperty(Object itemId, Object propertyId)
getContainerProperty in interface com.vaadin.data.Containerpublic Object getIdByIndex(int index)
getIdByIndex in interface com.vaadin.data.Container.Indexedpublic int indexOfId(Object itemId)
indexOfId in interface com.vaadin.data.Container.Indexedpublic boolean containsId(Object itemId)
containsId in interface com.vaadin.data.Containerpublic boolean isFirstId(Object itemId)
isFirstId in interface com.vaadin.data.Container.Orderedpublic boolean isLastId(Object itemId)
isLastId in interface com.vaadin.data.Container.Orderedpublic Object firstItemId()
firstItemId in interface com.vaadin.data.Container.Orderedpublic Object lastItemId()
lastItemId in interface com.vaadin.data.Container.Orderedpublic Object nextItemId(Object itemId)
nextItemId in interface com.vaadin.data.Container.Orderedpublic Object prevItemId(Object itemId)
prevItemId in interface com.vaadin.data.Container.Orderedpublic Object addItemAt(int index)
addItemAt in interface com.vaadin.data.Container.Indexedpublic Object addItemAfter(Object previousItemId)
addItemAfter in interface com.vaadin.data.Container.Orderedpublic com.vaadin.data.Item addItemAt(int index,
Object newItemId)
addItemAt in interface com.vaadin.data.Container.Indexedpublic com.vaadin.data.Item addItemAfter(Object previousItemId, Object newItemId)
addItemAfter in interface com.vaadin.data.Container.Orderedpublic com.vaadin.data.Item addItem(Object itemId)
addItem in interface com.vaadin.data.Containerpublic Object addItem()
addItem in interface com.vaadin.data.Containerpublic boolean removeItem(Object itemId)
removeItem in interface com.vaadin.data.Containerpublic boolean removeAllItems()
removeAllItems in interface com.vaadin.data.Containerpublic void refresh()
refresh in interface IVaadinContainerDataSourceAdapter.FullyCapableContainerLazyQueryContainer.refresh()public void addContainerFilter(com.vaadin.data.Container.Filter filter)
addContainerFilter in interface com.vaadin.data.Container.Filterablepublic void removeContainerFilter(com.vaadin.data.Container.Filter filter)
removeContainerFilter in interface com.vaadin.data.Container.Filterablepublic void removeAllContainerFilters()
removeAllContainerFilters in interface com.vaadin.data.Container.Filterablepublic Collection<com.vaadin.data.Container.Filter> getContainerFilters()
getContainerFilters in interface com.vaadin.data.Container.Filterablepublic List<?> getItemIds(int startIndex, int numberOfItems)
getItemIds in interface com.vaadin.data.Container.Indexedpublic void addItemSetChangeListener(com.vaadin.data.Container.ItemSetChangeListener listener)
addItemSetChangeListener in interface com.vaadin.data.Container.ItemSetChangeNotifierpublic void addListener(com.vaadin.data.Container.ItemSetChangeListener listener)
addListener in interface com.vaadin.data.Container.ItemSetChangeNotifierpublic void removeItemSetChangeListener(com.vaadin.data.Container.ItemSetChangeListener listener)
removeItemSetChangeListener in interface com.vaadin.data.Container.ItemSetChangeNotifierpublic void removeListener(com.vaadin.data.Container.ItemSetChangeListener listener)
removeListener in interface com.vaadin.data.Container.ItemSetChangeNotifierpublic void addPropertySetChangeListener(com.vaadin.data.Container.PropertySetChangeListener listener)
addPropertySetChangeListener in interface com.vaadin.data.Container.PropertySetChangeNotifierpublic void addListener(com.vaadin.data.Container.PropertySetChangeListener listener)
addListener in interface com.vaadin.data.Container.PropertySetChangeNotifierpublic void removePropertySetChangeListener(com.vaadin.data.Container.PropertySetChangeListener listener)
removePropertySetChangeListener in interface com.vaadin.data.Container.PropertySetChangeNotifierpublic void removeListener(com.vaadin.data.Container.PropertySetChangeListener listener)
removeListener in interface com.vaadin.data.Container.PropertySetChangeNotifierpublic void commit()
throws com.vaadin.data.Buffered.SourceException,
com.vaadin.data.Validator.InvalidValueException
commit in interface com.vaadin.data.Bufferedcom.vaadin.data.Buffered.SourceExceptioncom.vaadin.data.Validator.InvalidValueExceptionpublic void discard()
throws com.vaadin.data.Buffered.SourceException
discard in interface com.vaadin.data.Bufferedcom.vaadin.data.Buffered.SourceExceptionpublic void setBuffered(boolean buffered)
setBuffered in interface com.vaadin.data.Bufferedpublic boolean isBuffered()
isBuffered in interface com.vaadin.data.Bufferedpublic boolean isModified()
isModified in interface com.vaadin.data.BufferedCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.