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, waitforType, forType, linkFor, linkFor, linkForItemResource, linkToCollectionResource, linkToItemResource, linkToItemResourcepublic LinkBuilder linkForItemResource(Class<?> type, Object id)
EntityLinksLinkBuilder 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 EntityLinkstype - 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–2023 Pivotal, Inc.. All rights reserved.