Package org.dspace.app.rest.link
Class OrcidQueueHalLinkFactory
- java.lang.Object
-
- org.dspace.app.rest.link.HalLinkFactory<OrcidQueueResource,RestResourceController>
-
- org.dspace.app.rest.link.OrcidQueueHalLinkFactory
-
@Component public class OrcidQueueHalLinkFactory extends HalLinkFactory<OrcidQueueResource,RestResourceController>
This class' purpose is to provide a factory to add links to the OrcidQueueResource. The addLinks factory will be called from the HalLinkService class addLinks method.- Author:
- Mykhaylo Boychuk (mykhaylo.boychuk at 4science.it)
-
-
Constructor Summary
Constructors Constructor Description OrcidQueueHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinks(OrcidQueueResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list)protected Class<RestResourceController>getControllerClass()protected Class<OrcidQueueResource>getResourceClass()-
Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
-
-
-
Method Detail
-
addLinks
protected void addLinks(OrcidQueueResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception
- Specified by:
addLinksin classHalLinkFactory<OrcidQueueResource,RestResourceController>- Throws:
Exception
-
getControllerClass
protected Class<RestResourceController> getControllerClass()
- Specified by:
getControllerClassin classHalLinkFactory<OrcidQueueResource,RestResourceController>
-
getResourceClass
protected Class<OrcidQueueResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<OrcidQueueResource,RestResourceController>
-
-