Package org.dspace.app.rest.link.search
Class SearchConfigurationResourceHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<SearchConfigurationResource,DiscoveryRestController>
org.dspace.app.rest.link.search.SearchConfigurationResourceHalLinkFactory
@Component
public class SearchConfigurationResourceHalLinkFactory
extends HalLinkFactory<SearchConfigurationResource,DiscoveryRestController>
This class' purpose is to build the links that go together with the SearchConfigurationResource. To be added on
the /search endpoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(SearchConfigurationResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) protected Class<DiscoveryRestController>protected Class<SearchConfigurationResource>Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
SearchConfigurationResourceHalLinkFactory
public SearchConfigurationResourceHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(SearchConfigurationResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<SearchConfigurationResource,DiscoveryRestController> - Throws:
Exception
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<SearchConfigurationResource,DiscoveryRestController>
-
getControllerClass
- Specified by:
getControllerClassin classHalLinkFactory<SearchConfigurationResource,DiscoveryRestController>
-