public abstract class AbstractSubscriptionServiceWebScript
extends org.springframework.extensions.webscripts.AbstractWebScript
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected PersonService |
personService |
protected SubscriptionService |
subscriptionService |
Constructor and Description |
---|
AbstractSubscriptionServiceWebScript() |
Modifier and Type | Method and Description |
---|---|
protected org.alfresco.query.PagingRequest |
createPagingRequest(org.springframework.extensions.webscripts.WebScriptRequest req) |
void |
execute(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
abstract Object |
executeImpl(String userId,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
protected org.json.simple.JSONArray |
getUserArray(List<String> usernames) |
protected org.json.simple.JSONObject |
getUserDetails(String username) |
protected int |
parseNumber(String name,
String number,
int def) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPersonService(PersonService personService) |
void |
setSubscriptionService(SubscriptionService subscriptionService) |
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
protected SubscriptionService subscriptionService
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected PersonService personService
public AbstractSubscriptionServiceWebScript()
public void setSubscriptionService(SubscriptionService subscriptionService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setPersonService(PersonService personService)
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
IOException
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
IOException
org.json.simple.parser.ParseException
protected org.alfresco.query.PagingRequest createPagingRequest(org.springframework.extensions.webscripts.WebScriptRequest req)
protected org.json.simple.JSONObject getUserDetails(String username)
Copyright © 2005–2017 Alfresco Software. All rights reserved.