public static class BaseResourceTypes.Multiple<BE> extends Traversal<BE,E> implements ResourceTypes.Multiple
| Constructor and Description |
|---|
Multiple(TraversalContext<BE,ResourceType> context) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes the entity.
|
Page<E> |
entities(Pager pager) |
E |
entity()
Resolves the entity and returns it.
|
MetricTypes.ReadContained |
metricTypes() |
Relationships.Read |
relationships() |
Relationships.Read |
relationships(Relationships.Direction direction) |
Resources.Read |
resources() |
void |
update(U u)
Updates the entity.
|
getSingle, isApplicable, mutating, readOnlyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanyExists, entities, entitiesrelationships, relationshipsexistspublic Multiple(TraversalContext<BE,ResourceType> context)
public Resources.Read resources()
public MetricTypes.ReadContained metricTypes()
public Relationships.Read relationships()
public Relationships.Read relationships(Relationships.Direction direction)
public E entity()
throws EntityNotFoundException,
RelationNotFoundException
ResolvableToSingleentity in interface ResolvableToSingle<E extends AbstractElement<?,U>,U extends AbstractElement.Update>EntityNotFoundException - if there is no entity corresponding to the traversalRelationNotFoundException - if there is no relation corresponding to the traversalpublic void delete()
ResolvableToSingledelete in interface ResolvableToSingle<E extends AbstractElement<?,U>,U extends AbstractElement.Update>public void update(U u)
throws EntityNotFoundException,
RelationNotFoundException
ResolvableToSingleupdate in interface ResolvableToSingle<E extends AbstractElement<?,U>,U extends AbstractElement.Update>u - the update to be appliedEntityNotFoundException - if there is no entity corresponding to the traversalRelationNotFoundException - if there is no relation corresponding to the traversalpublic Page<E> entities(Pager pager)
entities in interface ResolvableToMany<E extends AbstractElement<?,U>>pager - the pager object describing the subset of the entities to returnCopyright © 2015 Red Hat, Inc.. All rights reserved.