org.alfresco.repo.web.scripts.discussion
Class ForumTopicsGet

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractWebScript
      extended by org.springframework.extensions.webscripts.DeclarativeWebScript
          extended by org.alfresco.repo.web.scripts.discussion.AbstractDiscussionWebScript
              extended by org.alfresco.repo.web.scripts.discussion.ForumTopicsGet
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class ForumTopicsGet
extends AbstractDiscussionWebScript

This class is the controller for the discussions topics fetching forum-posts.get webscript.

Since:
4.0

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
 
Field Summary
 
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
ForumTopicsGet()
           
 
Method Summary
protected  java.util.Map executeImpl(org.alfresco.service.cmr.site.SiteInfo site, org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.discussion.TopicInfo topic, org.alfresco.service.cmr.discussion.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
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForumTopicsGet

public ForumTopicsGet()
Method Detail

executeImpl

protected java.util.Map executeImpl(org.alfresco.service.cmr.site.SiteInfo site,
                                    org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                    org.alfresco.service.cmr.discussion.TopicInfo topic,
                                    org.alfresco.service.cmr.discussion.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 class AbstractDiscussionWebScript


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.