Package org.dspace.app.rest.link
Class BrowseEntryHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<BrowseEntryResource,RestResourceController>
org.dspace.app.rest.link.BrowseEntryHalLinkFactory
@Component
public class BrowseEntryHalLinkFactory
extends HalLinkFactory<BrowseEntryResource,RestResourceController>
This class' purpose is to provide a factory to add links to the BrowseEntryResource. The addLinks factory will be
called
from the HalLinkService class addLinks method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(BrowseEntryResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) protected Class<RestResourceController>protected Class<BrowseEntryResource>Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
BrowseEntryHalLinkFactory
public BrowseEntryHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(BrowseEntryResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<BrowseEntryResource,RestResourceController> - Throws:
Exception
-
getControllerClass
- Specified by:
getControllerClassin classHalLinkFactory<BrowseEntryResource,RestResourceController>
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<BrowseEntryResource,RestResourceController>
-