Package org.dspace.app.rest.link.harvest
Class HarvestedCollectionHalLinkFactory
- java.lang.Object
-
- org.dspace.app.rest.link.HalLinkFactory<T,CollectionHarvestSettingsController>
-
- org.dspace.app.rest.link.harvest.HarvestedCollectionRestHalLinkFactory<HarvestedCollectionResource>
-
- org.dspace.app.rest.link.harvest.HarvestedCollectionHalLinkFactory
-
@Component public class HarvestedCollectionHalLinkFactory extends HarvestedCollectionRestHalLinkFactory<HarvestedCollectionResource>
This class adds links toHarvestedCollectionResources This builds a link to the collection harvest link
-
-
Constructor Summary
Constructors Constructor Description HarvestedCollectionHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinks(HarvestedCollectionResource halResource, org.springframework.data.domain.Pageable page, LinkedList<org.springframework.hateoas.Link> list)protected Class<HarvestedCollectionResource>getResourceClass()-
Methods inherited from class org.dspace.app.rest.link.harvest.HarvestedCollectionRestHalLinkFactory
getControllerClass
-
Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
-
-
-
Method Detail
-
addLinks
protected void addLinks(HarvestedCollectionResource halResource, org.springframework.data.domain.Pageable page, LinkedList<org.springframework.hateoas.Link> list) throws Exception
- Specified by:
addLinksin classHalLinkFactory<HarvestedCollectionResource,CollectionHarvestSettingsController>- Throws:
Exception
-
getResourceClass
protected Class<HarvestedCollectionResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<HarvestedCollectionResource,CollectionHarvestSettingsController>
-
-