public static class EmptyInventory.ResourcesRead extends Object implements Resources.Read
| Constructor and Description |
|---|
ResourcesRead() |
| Modifier and Type | Method and Description |
|---|---|
Resources.Single |
get(String id)
Tries to find a single entity in the current position in the inventory traversal.
|
Resources.Multiple |
getAll(Filter... filters)
Returns access interface to all entities conforming to provided filters in the current position in the inventory
traversal.
|
public Resources.Multiple getAll(Filter... filters)
ResolvingToMultiplegetAll in interface ResolvingToMultiple<Resources.Multiple>filters - the (possibly empty) list of filters to apply.public Resources.Single get(String id) throws EntityNotFoundException
ResolvingToSingleget in interface ResolvingToSingle<Resources.Single>id - the id of the entity to find in the current traversal positionEntityNotFoundExceptionCopyright © 2015 Red Hat, Inc.. All rights reserved.