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 Constructor Description SearchFacetValueHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinks(SearchFacetValueResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list)protected Class<SearchFacetValueResource>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(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
protected Class<SearchFacetValueResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<SearchFacetValueResource,DiscoveryRestController>
-
-