Package org.dspace.app.rest.link.search
Class SearchFacetValueHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<T,DiscoveryRestController>
org.dspace.app.rest.link.search.DiscoveryRestHalLinkFactory<SearchFacetValueResource>
org.dspace.app.rest.link.search.SearchFacetValueHalLinkFactory
@Component
public class SearchFacetValueHalLinkFactory
extends DiscoveryRestHalLinkFactory<SearchFacetValueResource>
This factory provides a means to add links to the SearchFacetValueResource. This method and class will be called
from the
HalLinkService addLinks method if the given resource is eligible.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(SearchFacetValueResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) protected Class<SearchFacetValueResource>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
-
SearchFacetValueHalLinkFactory
public SearchFacetValueHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(SearchFacetValueResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<SearchFacetValueResource,DiscoveryRestController> - Throws:
Exception
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<SearchFacetValueResource,DiscoveryRestController>
-