ItemId
from the Container. Containers that support filtering should also allow removing an item that is currently filtered out.
This functionality is optional.
@param itemId ID of the Item to remove @returntrue
if the operation succeeded, false
if not
@throws UnsupportedOperationException if the container does not support removing individual items
ItemId
from the Container.
@see com.vaadin.data.Container#removeItem(Object)
The removeItem(key) method must cause the key/value pair with the given key to be removed from the list associated with the object, if it exists. If no item with that key exists, the method must do nothing.
@param key@param cacheName @param key @throws IOException
It will try to remove 'as much as possible' from the types and amounts you give as arguments.
The returned HashMap contains what it couldn't remove, where the key is the index of the parameter, and the value is the ItemStack at that index of the varargs parameter. If all the given ItemStacks are removed, it will return an empty HashMap. @param items The ItemStacks to remove @return A HashMap containing items that couldn't be removed. @throws IllegalArgumentException if items is null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|