Class AbstractSubscriptionServiceWebScript

    • Constructor Detail

      • AbstractSubscriptionServiceWebScript

        public AbstractSubscriptionServiceWebScript()
    • Method Detail

      • setSubscriptionService

        public void setSubscriptionService​(SubscriptionService subscriptionService)
      • setNodeService

        public void setNodeService​(NodeService nodeService)
      • setPersonService

        public void setPersonService​(PersonService personService)
      • execute

        public void execute​(org.springframework.extensions.webscripts.WebScriptRequest req,
                            org.springframework.extensions.webscripts.WebScriptResponse res)
                     throws IOException
        Throws:
        IOException
      • executeImpl

        public abstract Object executeImpl​(String userId,
                                           org.springframework.extensions.webscripts.WebScriptRequest req,
                                           org.springframework.extensions.webscripts.WebScriptResponse res)
                                    throws IOException,
                                           org.json.simple.parser.ParseException
        Throws:
        IOException
        org.json.simple.parser.ParseException
      • parseNumber

        protected int parseNumber​(String name,
                                  String number,
                                  int def)
      • createPagingRequest

        protected org.alfresco.query.PagingRequest createPagingRequest​(org.springframework.extensions.webscripts.WebScriptRequest req)
      • getUserDetails

        protected org.json.simple.JSONObject getUserDetails​(String username)
      • getUserArray

        protected org.json.simple.JSONArray getUserArray​(List<String> usernames)