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