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