Package org.dspace.app.rest.link.search
Class FacetConfigurationResourceHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<T,DiscoveryRestController>
org.dspace.app.rest.link.search.DiscoveryRestHalLinkFactory<FacetConfigurationResource>
org.dspace.app.rest.link.search.FacetConfigurationResourceHalLinkFactory
@Component
public class FacetConfigurationResourceHalLinkFactory
extends DiscoveryRestHalLinkFactory<FacetConfigurationResource>
This class' purpose is to add the links to the FacetConfigurationResource. This function and class will be called
and used
when the HalLinkService addLinks methods is called as it'll iterate over all the different factories and check
whether
these are allowed to create links for said resource or not.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(FacetConfigurationResource halResource, org.springframework.data.domain.Pageable page, LinkedList<org.springframework.hateoas.Link> list) protected Class<FacetConfigurationResource>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
-
FacetConfigurationResourceHalLinkFactory
public FacetConfigurationResourceHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(FacetConfigurationResource halResource, org.springframework.data.domain.Pageable page, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<FacetConfigurationResource,DiscoveryRestController> - Throws:
Exception
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<FacetConfigurationResource,DiscoveryRestController>
-