Package org.dspace.app.rest.link.process
Class SubmissionCCLicenseUrlResourceHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<SubmissionCCLicenseUrlResource,RestResourceController>
org.dspace.app.rest.link.process.SubmissionCCLicenseUrlResourceHalLinkFactory
@Component
public class SubmissionCCLicenseUrlResourceHalLinkFactory
extends HalLinkFactory<SubmissionCCLicenseUrlResource,RestResourceController>
This class will provide the SubmissionCCLicenseUrlResource with links
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(SubmissionCCLicenseUrlResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) Add a self link based on the search parametersprotected Class<RestResourceController>protected Class<SubmissionCCLicenseUrlResource>Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
SubmissionCCLicenseUrlResourceHalLinkFactory
public SubmissionCCLicenseUrlResourceHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(SubmissionCCLicenseUrlResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception Add a self link based on the search parameters- Specified by:
addLinksin classHalLinkFactory<SubmissionCCLicenseUrlResource,RestResourceController> - Parameters:
halResource- - The halResourcepageable- - The page informationlist- - The list of present links- Throws:
Exception
-
getControllerClass
- Specified by:
getControllerClassin classHalLinkFactory<SubmissionCCLicenseUrlResource,RestResourceController>
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<SubmissionCCLicenseUrlResource,RestResourceController>
-