Class PortalSubscribersController


  • @RestController
    @CrossOrigin(origins="*")
    public class PortalSubscribersController
    extends Object
    Created by argirok on 2/3/2018.
    • Constructor Detail

      • PortalSubscribersController

        public PortalSubscribersController()
    • Method Detail

      • getNumberOfSubscribersPerPortal

        @RequestMapping(value="/community/{pid}/subscribers/count",
                        method=GET)
        public eu.dnetlib.uoaadmintoolslibrary.responses.SingleValueWrapperResponse<Integer> getNumberOfSubscribersPerPortal​(@PathVariable(value="pid",required=true)
                                                                                                                             String pid)
                                                                                                                      throws eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException
        Throws:
        eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException
      • getAllPortalSubscribers

        @RequestMapping(value="/community/subscribers",
                        method=GET)
        public List<PortalSubscribers> getAllPortalSubscribers()
      • getSubscribersPerPortal

        @RequestMapping(value="/community/{pid}/subscribers",
                        method=GET)
        public PortalSubscribers getSubscribersPerPortal​(@PathVariable(value="pid",required=true)
                                                         String pid)
                                                  throws eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException
        Throws:
        eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException