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 to
HarvestedCollectionResources
This builds a link to the collection harvest link-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(HarvestedCollectionResource halResource, org.springframework.data.domain.Pageable page, LinkedList<org.springframework.hateoas.Link> list) protected Class<HarvestedCollectionResource>Methods inherited from class org.dspace.app.rest.link.harvest.HarvestedCollectionRestHalLinkFactory
getControllerClassMethods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
HarvestedCollectionHalLinkFactory
public HarvestedCollectionHalLinkFactory()
-
-
Method Details
-
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
- Specified by:
getResourceClassin classHalLinkFactory<HarvestedCollectionResource,CollectionHarvestSettingsController>
-