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.Sortable
LazyQueryContainer.sort(Object[], boolean[])
public Collection<?> getContainerPropertyIds()
getContainerPropertyIds
in interface com.vaadin.data.Container
public Collection<?> getSortableContainerPropertyIds()
getSortableContainerPropertyIds
in interface com.vaadin.data.Container.Sortable
LazyQueryContainer.getSortableContainerPropertyIds()
public Class<?> getType(Object propertyId)
getType
in interface com.vaadin.data.Container
public boolean addContainerProperty(Object propertyId, Class<?> type, Object defaultValue)
addContainerProperty
in interface com.vaadin.data.Container
public boolean addContainerProperty(Object propertyId, Class<?> type, Object defaultValue, boolean readOnly, boolean sortable)
addContainerProperty
in interface IVaadinContainerDataSourceAdapter.FullyCapableContainer
propertyId
- - 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.Container
public int size()
size
in interface com.vaadin.data.Container
public Collection<?> getItemIds()
getItemIds
in interface com.vaadin.data.Container
public com.vaadin.data.Item getItem(Object itemId)
getItem
in interface com.vaadin.data.Container
public com.vaadin.data.Property getContainerProperty(Object itemId, Object propertyId)
getContainerProperty
in interface com.vaadin.data.Container
public Object getIdByIndex(int index)
getIdByIndex
in interface com.vaadin.data.Container.Indexed
public int indexOfId(Object itemId)
indexOfId
in interface com.vaadin.data.Container.Indexed
public boolean containsId(Object itemId)
containsId
in interface com.vaadin.data.Container
public boolean isFirstId(Object itemId)
isFirstId
in interface com.vaadin.data.Container.Ordered
public boolean isLastId(Object itemId)
isLastId
in interface com.vaadin.data.Container.Ordered
public Object firstItemId()
firstItemId
in interface com.vaadin.data.Container.Ordered
public Object lastItemId()
lastItemId
in interface com.vaadin.data.Container.Ordered
public Object nextItemId(Object itemId)
nextItemId
in interface com.vaadin.data.Container.Ordered
public Object prevItemId(Object itemId)
prevItemId
in interface com.vaadin.data.Container.Ordered
public Object addItemAt(int index)
addItemAt
in interface com.vaadin.data.Container.Indexed
public Object addItemAfter(Object previousItemId)
addItemAfter
in interface com.vaadin.data.Container.Ordered
public com.vaadin.data.Item addItemAt(int index, Object newItemId)
addItemAt
in interface com.vaadin.data.Container.Indexed
public com.vaadin.data.Item addItemAfter(Object previousItemId, Object newItemId)
addItemAfter
in interface com.vaadin.data.Container.Ordered
public com.vaadin.data.Item addItem(Object itemId)
addItem
in interface com.vaadin.data.Container
public Object addItem()
addItem
in interface com.vaadin.data.Container
public boolean removeItem(Object itemId)
removeItem
in interface com.vaadin.data.Container
public boolean removeAllItems()
removeAllItems
in interface com.vaadin.data.Container
public void refresh()
refresh
in interface IVaadinContainerDataSourceAdapter.FullyCapableContainer
LazyQueryContainer.refresh()
public void addContainerFilter(com.vaadin.data.Container.Filter filter)
addContainerFilter
in interface com.vaadin.data.Container.Filterable
public void removeContainerFilter(com.vaadin.data.Container.Filter filter)
removeContainerFilter
in interface com.vaadin.data.Container.Filterable
public void removeAllContainerFilters()
removeAllContainerFilters
in interface com.vaadin.data.Container.Filterable
public Collection<com.vaadin.data.Container.Filter> getContainerFilters()
getContainerFilters
in interface com.vaadin.data.Container.Filterable
public List<?> getItemIds(int startIndex, int numberOfItems)
getItemIds
in interface com.vaadin.data.Container.Indexed
public void addItemSetChangeListener(com.vaadin.data.Container.ItemSetChangeListener listener)
addItemSetChangeListener
in interface com.vaadin.data.Container.ItemSetChangeNotifier
public void addListener(com.vaadin.data.Container.ItemSetChangeListener listener)
addListener
in interface com.vaadin.data.Container.ItemSetChangeNotifier
public void removeItemSetChangeListener(com.vaadin.data.Container.ItemSetChangeListener listener)
removeItemSetChangeListener
in interface com.vaadin.data.Container.ItemSetChangeNotifier
public void removeListener(com.vaadin.data.Container.ItemSetChangeListener listener)
removeListener
in interface com.vaadin.data.Container.ItemSetChangeNotifier
public void addPropertySetChangeListener(com.vaadin.data.Container.PropertySetChangeListener listener)
addPropertySetChangeListener
in interface com.vaadin.data.Container.PropertySetChangeNotifier
public void addListener(com.vaadin.data.Container.PropertySetChangeListener listener)
addListener
in interface com.vaadin.data.Container.PropertySetChangeNotifier
public void removePropertySetChangeListener(com.vaadin.data.Container.PropertySetChangeListener listener)
removePropertySetChangeListener
in interface com.vaadin.data.Container.PropertySetChangeNotifier
public void removeListener(com.vaadin.data.Container.PropertySetChangeListener listener)
removeListener
in interface com.vaadin.data.Container.PropertySetChangeNotifier
public void commit() throws com.vaadin.data.Buffered.SourceException, com.vaadin.data.Validator.InvalidValueException
commit
in interface com.vaadin.data.Buffered
com.vaadin.data.Buffered.SourceException
com.vaadin.data.Validator.InvalidValueException
public void discard() throws com.vaadin.data.Buffered.SourceException
discard
in interface com.vaadin.data.Buffered
com.vaadin.data.Buffered.SourceException
public void setBuffered(boolean buffered)
setBuffered
in interface com.vaadin.data.Buffered
public boolean isBuffered()
isBuffered
in interface com.vaadin.data.Buffered
public boolean isModified()
isModified
in interface com.vaadin.data.Buffered
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.