public abstract class AbstractSubscriptionServiceWebScript
extends org.springframework.extensions.webscripts.AbstractWebScript
| Modifier and Type | Field and Description |
|---|---|
protected 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(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, toStringprotected SubscriptionService subscriptionService
protected NodeService nodeService
protected PersonService personService
public AbstractSubscriptionServiceWebScript()
public void setSubscriptionService(SubscriptionService subscriptionService)
public void setNodeService(NodeService nodeService)
public void setPersonService(PersonService personService)
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res)
throws IOException
IOExceptionpublic abstract Object executeImpl(String userId, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException, org.json.simple.parser.ParseException
IOExceptionorg.json.simple.parser.ParseExceptionprotected org.alfresco.query.PagingRequest createPagingRequest(org.springframework.extensions.webscripts.WebScriptRequest req)
protected org.json.simple.JSONObject getUserDetails(String username)
Copyright © 2005–2014 Alfresco Software. All rights reserved.