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