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