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