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 Constructor Description SearchConfigurationResourceHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinks(SearchConfigurationResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list)protected Class<DiscoveryRestController>getControllerClass()protected Class<SearchConfigurationResource>getResourceClass()-
Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
-
-
-
Method Detail
-
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
protected Class<SearchConfigurationResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<SearchConfigurationResource,DiscoveryRestController>
-
getControllerClass
protected Class<DiscoveryRestController> getControllerClass()
- Specified by:
getControllerClassin classHalLinkFactory<SearchConfigurationResource,DiscoveryRestController>
-
-