Class PortalSubscribersController
- java.lang.Object
-
- eu.dnetlib.uoaadmintools.controllers.PortalSubscribersController
-
@RestController @CrossOrigin(origins="*") public class PortalSubscribersController extends Object
Created by argirok on 2/3/2018.
-
-
Constructor Summary
Constructors Constructor Description PortalSubscribersController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PortalSubscribers>getAllPortalSubscribers()eu.dnetlib.uoaadmintoolslibrary.responses.SingleValueWrapperResponse<Integer>getNumberOfSubscribersPerPortal(String pid)PortalSubscribersgetSubscribersPerPortal(String pid)
-
-
-
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
-
-