Package org.dspace.app.rest.link
Class AuthorityEntryHalLinkFactory
- java.lang.Object
-
- org.dspace.app.rest.link.HalLinkFactory<AuthorityEntryResource,RestResourceController>
-
- org.dspace.app.rest.link.AuthorityEntryHalLinkFactory
-
@Component public class AuthorityEntryHalLinkFactory extends HalLinkFactory<AuthorityEntryResource,RestResourceController>
This class' purpose is to provide a factory to add links to the AuthorityEntryResource. The addLinks factory will be called from the HalLinkService class addLinks method.
-
-
Constructor Summary
Constructors Constructor Description AuthorityEntryHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinks(AuthorityEntryResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list)protected Class<RestResourceController>getControllerClass()protected Class<AuthorityEntryResource>getResourceClass()-
Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
-
-
-
Method Detail
-
addLinks
protected void addLinks(AuthorityEntryResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception
- Specified by:
addLinksin classHalLinkFactory<AuthorityEntryResource,RestResourceController>- Throws:
Exception
-
getControllerClass
protected Class<RestResourceController> getControllerClass()
- Specified by:
getControllerClassin classHalLinkFactory<AuthorityEntryResource,RestResourceController>
-
getResourceClass
protected Class<AuthorityEntryResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<AuthorityEntryResource,RestResourceController>
-
-