Class ContentReportSupportHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<ContentReportSupportResource,ContentReportRestController>
org.dspace.app.rest.link.contentreport.ContentReportSupportHalLinkFactory
@Component
public class ContentReportSupportHalLinkFactory
extends HalLinkFactory<ContentReportSupportResource,ContentReportRestController>
This class adds the self and report links to the ContentReportSupportResource.
- Author:
- Jean-François Morin (Université Laval)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(ContentReportSupportResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) protected Class<ContentReportRestController>protected Class<ContentReportSupportResource>Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
ContentReportSupportHalLinkFactory
public ContentReportSupportHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(ContentReportSupportResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<ContentReportSupportResource,ContentReportRestController> - Throws:
Exception
-
getControllerClass
- Specified by:
getControllerClassin classHalLinkFactory<ContentReportSupportResource,ContentReportRestController>
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<ContentReportSupportResource,ContentReportRestController>
-