Package org.dspace.app.rest.link.search
Class SearchResultEntryHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<T,DiscoveryRestController>
org.dspace.app.rest.link.search.DiscoveryRestHalLinkFactory<SearchResultEntryResource>
org.dspace.app.rest.link.search.SearchResultEntryHalLinkFactory
@Component
public class SearchResultEntryHalLinkFactory
extends DiscoveryRestHalLinkFactory<SearchResultEntryResource>
This factory class provides a means to add links to the SearchResultsEntryResource. This method will be called
from the
HalLinkService addLinks method if the HalResource given is eligible.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(SearchResultEntryResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) protected Class<SearchResultEntryResource>Methods inherited from class org.dspace.app.rest.link.search.DiscoveryRestHalLinkFactory
addFilterParams, addSortingParms, buildFacetBaseLink, buildSearchBaseLink, buildSearchFacetsBaseLink, getControllerClassMethods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
SearchResultEntryHalLinkFactory
public SearchResultEntryHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(SearchResultEntryResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<SearchResultEntryResource,DiscoveryRestController> - Throws:
Exception
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<SearchResultEntryResource,DiscoveryRestController>
-