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