Class HarvestedCollectionRestRepository


  • @Component("core.collections")
    public class HarvestedCollectionRestRepository
    extends AbstractDSpaceRestRepository
    This is the repository responsible for managing the HarvestedCollection Rest object
    Author:
    Jelle Pelgrims (jelle.pelgrims at atmire.com)
    • Constructor Detail

      • HarvestedCollectionRestRepository

        public HarvestedCollectionRestRepository()
    • Method Detail

      • update

        public HarvestedCollectionRest update​(org.dspace.core.Context context,
                                              javax.servlet.http.HttpServletRequest request,
                                              org.dspace.content.Collection collection)
                                       throws SQLException
        Function to update the harvesting settings of a collection
        Parameters:
        context - The context object
        request - The incoming put request
        collection - The collection whose settings should be changed
        Returns:
        a harvestedCollection if a new harvestedCollection is created, otherwise null
        Throws:
        SQLException