Class ForumTopicsRecentGet
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.discussion.AbstractDiscussionWebScript
org.alfresco.repo.web.scripts.discussion.ForumTopicsRecentGet
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
This class is the controller for the discussions topics fetching forum-posts-new.get webscript.
- Since:
- 4.0
- Author:
- Nick Burch
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final long
protected static final int
Fields inherited from class org.alfresco.repo.web.scripts.discussion.AbstractDiscussionWebScript
activityService, DISCUSSIONS_SERVICE_ACTIVITY_APP_NAME, discussionService, KEY_AUTHOR, KEY_CAN_EDIT, KEY_IS_TOPIC_POST, KEY_POST, KEY_POSTDATA, KEY_TOPIC, MAX_QUERY_ENTRY_COUNT, nodeService, permissionService, personService, siteService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl
(SiteInfo site, NodeRef nodeRef, TopicInfo topic, PostInfo post, org.springframework.extensions.webscripts.WebScriptRequest req, org.json.simple.JSONObject json, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) Methods inherited from class org.alfresco.repo.web.scripts.discussion.AbstractDiscussionWebScript
addActivityEntry, buildCommonModel, buildPagingRequest, buildPerson, canUserEditPost, executeImpl, getOrNull, getTags, renderPost, renderTopic, renderTopics, renderTopics, setActivityService, setDiscussionService, setNodeService, setPermissionService, setPersonService, setSiteService
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Field Details
-
RECENT_SEARCH_PERIOD_DAYS
protected static final int RECENT_SEARCH_PERIOD_DAYS- See Also:
-
ONE_DAY_MS
protected static final long ONE_DAY_MS- See Also:
-
-
Constructor Details
-
ForumTopicsRecentGet
public ForumTopicsRecentGet()
-
-
Method Details
-
executeImpl
protected Map<String,Object> executeImpl(SiteInfo site, NodeRef nodeRef, TopicInfo topic, PostInfo post, org.springframework.extensions.webscripts.WebScriptRequest req, org.json.simple.JSONObject json, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) - Specified by:
executeImpl
in classAbstractDiscussionWebScript
-