@Component public class RelationshipHalLinkFactory extends HalLinkFactory<RelationshipResource,RestResourceController>
RelationshipResources
This builds a link to both items included in the relationship| Constructor and Description |
|---|
RelationshipHalLinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLinks(RelationshipResource halResource,
org.springframework.data.domain.Pageable pageable,
LinkedList<org.springframework.hateoas.Link> list) |
protected Class<RestResourceController> |
getControllerClass() |
protected Class<RelationshipResource> |
getResourceClass() |
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilderprotected void addLinks(RelationshipResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception
addLinks in class HalLinkFactory<RelationshipResource,RestResourceController>Exceptionprotected Class<RestResourceController> getControllerClass()
getControllerClass in class HalLinkFactory<RelationshipResource,RestResourceController>protected Class<RelationshipResource> getResourceClass()
getResourceClass in class HalLinkFactory<RelationshipResource,RestResourceController>Copyright © 2019 DuraSpace. All rights reserved.