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 Constructor Description SubmissionCCLicenseUrlResourceHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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>getControllerClass()protected Class<SubmissionCCLicenseUrlResource>getResourceClass()-
Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
-
-
-
Method Detail
-
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
protected Class<RestResourceController> getControllerClass()
- Specified by:
getControllerClassin classHalLinkFactory<SubmissionCCLicenseUrlResource,RestResourceController>
-
getResourceClass
protected Class<SubmissionCCLicenseUrlResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<SubmissionCCLicenseUrlResource,RestResourceController>
-
-