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