@Component public class RelationshipResourceWrapperHalLinkFactory extends HalLinkFactory<RelationshipResourceWrapper,RelationshipRestController>
| Constructor and Description |
|---|
RelationshipResourceWrapperHalLinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLinks(RelationshipResourceWrapper halResource,
org.springframework.data.domain.Pageable pageable,
LinkedList<org.springframework.hateoas.Link> list) |
protected Class<RelationshipRestController> |
getControllerClass() |
protected Class<RelationshipResourceWrapper> |
getResourceClass() |
String |
getSelfLink(RelationshipRestWrapper content,
org.springframework.data.domain.Pageable pageable)
This method will construct a self link to the RelationshipRestController.retrieveByLabel method.
|
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilderpublic RelationshipResourceWrapperHalLinkFactory()
protected void addLinks(RelationshipResourceWrapper halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception
addLinks in class HalLinkFactory<RelationshipResourceWrapper,RelationshipRestController>Exceptionpublic String getSelfLink(RelationshipRestWrapper content, org.springframework.data.domain.Pageable pageable) throws Exception
content - The RelationshipRestWrapper from which we'll retrieve variables to construct the linkpageable - The page objectException - If something goes wrongprotected Class<RelationshipRestController> getControllerClass()
getControllerClass in class HalLinkFactory<RelationshipResourceWrapper,RelationshipRestController>protected Class<RelationshipResourceWrapper> getResourceClass()
getResourceClass in class HalLinkFactory<RelationshipResourceWrapper,RelationshipRestController>Copyright © 2019 DuraSpace. All rights reserved.