public static class SelectionChangedListener.AlarmNodeIdSelection extends Object implements SelectionChangedListener.Selection
SelectionChangedListener.Selection
to create an in-Restriction for the provided selectedNodeIds
.
If selectedNodeIds
is null or empty, an empty list is returned (results in "NO SELECTION").
Please note that this requires a "node.id" attribute on the entity managed by OnmsVaadinContainer
.
It's original intention is to be used only for a OnmsVaadinContainer
managing OnmsAlarm entities.NONE
Constructor and Description |
---|
AlarmNodeIdSelection(Collection<Integer> selectedNodeIds) |
Modifier and Type | Method and Description |
---|---|
List<Restriction> |
toRestrictions()
The list of restrictions to return.
|
public AlarmNodeIdSelection(Collection<Integer> selectedNodeIds)
public List<Restriction> toRestrictions()
SelectionChangedListener.Selection
toRestrictions
in interface SelectionChangedListener.Selection
Restriction
to return to use to filter the OnmsVaadinContainer
.Copyright © 2020. All rights reserved.