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 the
ProcessResource with links-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(ProcessResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) protected Class<RestResourceController>protected Class<ProcessResource>Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
ProcessResourceHalLinkFactory
public ProcessResourceHalLinkFactory()
-
-
Method Details
-
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
- Specified by:
getControllerClassin classHalLinkFactory<ProcessResource,RestResourceController>
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<ProcessResource,RestResourceController>
-