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 Constructor Description BrowseEntryHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinks(BrowseEntryResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list)protected Class<RestResourceController>getControllerClass()protected Class<BrowseEntryResource>getResourceClass()-
Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
-
-
-
Method Detail
-
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
protected Class<RestResourceController> getControllerClass()
- Specified by:
getControllerClassin classHalLinkFactory<BrowseEntryResource,RestResourceController>
-
getResourceClass
protected Class<BrowseEntryResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<BrowseEntryResource,RestResourceController>
-
-