Class ExternalSourceHalLinkFactory
- java.lang.Object
-
- org.dspace.app.rest.link.HalLinkFactory<ExternalSourceResource,ExternalSourcesRestController>
-
- org.dspace.app.rest.link.externalsources.ExternalSourceHalLinkFactory
-
@Component public class ExternalSourceHalLinkFactory extends HalLinkFactory<ExternalSourceResource,ExternalSourcesRestController>
This HalLinkFactory adds links to the ExternalSourceResource object
-
-
Constructor Summary
Constructors Constructor Description ExternalSourceHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinks(ExternalSourceResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list)protected Class<ExternalSourcesRestController>getControllerClass()protected Class<ExternalSourceResource>getResourceClass()-
Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
-
-
-
Method Detail
-
addLinks
protected void addLinks(ExternalSourceResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception
- Specified by:
addLinksin classHalLinkFactory<ExternalSourceResource,ExternalSourcesRestController>- Throws:
Exception
-
getControllerClass
protected Class<ExternalSourcesRestController> getControllerClass()
- Specified by:
getControllerClassin classHalLinkFactory<ExternalSourceResource,ExternalSourcesRestController>
-
getResourceClass
protected Class<ExternalSourceResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<ExternalSourceResource,ExternalSourcesRestController>
-
-