public abstract class AbstractEntityLinks extends Object implements EntityLinks
EntityLinks
by delegating to the more fine
grained ones to reduce the implementation effort for actual implementation classes.Constructor and Description |
---|
AbstractEntityLinks() |
Modifier and Type | Method and Description |
---|---|
LinkBuilder |
linkForItemResource(Class<?> type,
Object id)
Returns a
LinkBuilder able to create links to the controller managing the given entity type and id. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forType, forType, linkFor, linkFor, linkForItemResource, linkToCollectionResource, linkToItemResource, linkToItemResource
public LinkBuilder linkForItemResource(Class<?> type, Object id)
EntityLinks
LinkBuilder
able to create links to the controller managing the given entity type and id.
Implementations will know about the URI structure being used to expose item-resource URIs.linkForItemResource
in interface EntityLinks
type
- the entity type to point to, must not be null.id
- the id of the object of the handed type, must not be null.LinkBuilder
pointing to the item resource identified by the given type and id. Will never be
null.Copyright © 2011–2021 VMware, Inc.. All rights reserved.