public interface ResultFilter
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicable(AbstractElement<?,?> element)
Given a context (that is passed to this instance outside of the responsibility of this interface), this method
is called by the inventory implementations to check whether given element belongs to the result set of a call.
|
boolean isApplicable(AbstractElement<?,?> element)
This is primarily geared towards applying security checks to the results before they are passed to the API caller.
element - the element potentially returned from a inventory call (like ResolvableToSingle.entity()
or ResolvableToMany.entities(Pager)).Copyright © 2015 Red Hat, Inc.. All rights reserved.