public abstract class AbstractLinksWebScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Field and Description |
|---|---|
protected ActivityService |
activityService |
static String |
LINKS_SERVICE_ACTIVITY_APP_NAME |
protected LinksService |
linksService |
protected NodeService |
nodeService |
protected static String |
PARAM_ITEM |
protected static String |
PARAM_MESSAGE |
protected PersonService |
personService |
protected SiteService |
siteService |
| Constructor and Description |
|---|
AbstractLinksWebScript() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addActivityEntry(String event,
LinkInfo link,
SiteInfo site,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json)
Generates an activity entry for the link
|
protected org.alfresco.query.PagingRequest |
buildPagingRequest(org.springframework.extensions.webscripts.WebScriptRequest req)
Builds up a listing Paging request, based on the arguments
specified in the URL
|
protected abstract Map<String,Object> |
executeImpl(SiteInfo site,
String linkName,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.simple.JSONObject json,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected String |
getOrNull(org.json.simple.JSONObject json,
String key) |
protected List<String> |
getTags(org.json.simple.JSONObject json) |
protected Map<String,Object> |
renderLink(LinkInfo link) |
void |
setActivityService(ActivityService activityService) |
void |
setLinksService(LinksService linksService) |
void |
setNodeService(NodeService nodeService) |
void |
setPersonService(PersonService personService) |
void |
setSiteService(SiteService siteService) |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringpublic static final String LINKS_SERVICE_ACTIVITY_APP_NAME
protected static final String PARAM_MESSAGE
protected static final String PARAM_ITEM
protected NodeService nodeService
protected SiteService siteService
protected LinksService linksService
protected PersonService personService
protected ActivityService activityService
public void setNodeService(NodeService nodeService)
public void setSiteService(SiteService siteService)
public void setLinksService(LinksService linksService)
public void setPersonService(PersonService personService)
public void setActivityService(ActivityService activityService)
protected org.alfresco.query.PagingRequest buildPagingRequest(org.springframework.extensions.webscripts.WebScriptRequest req)
protected void addActivityEntry(String event, LinkInfo link, SiteInfo site, org.springframework.extensions.webscripts.WebScriptRequest req, org.json.simple.JSONObject json)
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScriptprotected abstract Map<String,Object> executeImpl(SiteInfo site, String linkName, org.springframework.extensions.webscripts.WebScriptRequest req, org.json.simple.JSONObject json, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
Copyright © 2005–2014 Alfresco Software. All rights reserved.