T
- The Type of the "id" attribute.public static class SelectionChangedListener.IdSelection<T extends Serializable> extends Object implements SelectionChangedListener.Selection
SelectionChangedListener.Selection
to create an in-Restriction for the provided selectedIds
.
If selectedIds
is null or empty, an empty list is returned (results in "NO SELECTION").
Please be aware that this requires a "id" attribute on the entity managed by OnmsVaadinContainer
.NONE
Constructor and Description |
---|
IdSelection(Collection<T> selectedIds) |
Modifier and Type | Method and Description |
---|---|
List<Restriction> |
toRestrictions()
The list of restrictions to return.
|
public IdSelection(Collection<T> selectedIds)
public List<Restriction> toRestrictions()
SelectionChangedListener.Selection
toRestrictions
in interface SelectionChangedListener.Selection
Restriction
to return to use to filter the OnmsVaadinContainer
.Copyright © 2018. All rights reserved.