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