org.exoplatform.forum.ext.impl
Class ForumUIActivity

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.social.webui.activity.BaseUIActivity
                  extended by org.exoplatform.forum.ext.impl.BaseKSActivity
                      extended by org.exoplatform.forum.ext.impl.ForumUIActivity

public class ForumUIActivity
extends BaseKSActivity


Nested Class Summary
static class ForumUIActivity.PostCommentActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.social.webui.activity.BaseUIActivity
org.exoplatform.social.webui.activity.BaseUIActivity.CommentStatus, org.exoplatform.social.webui.activity.BaseUIActivity.DeleteActivityActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.DeleteCommentActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.LikeActivityActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.LoadLikesActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.SetCommentListStatusActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.ToggleDisplayCommentFormActionListener
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.social.webui.activity.BaseUIActivity
LIKES_NUM_DEFAULT
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
ForumUIActivity()
           
 
Method Summary
 String buildTopicLink(String spaceGroupId, String topicId)
           
 org.exoplatform.forum.service.Post createPost(String message, org.exoplatform.webui.application.WebuiRequestContext requestContext)
           
protected  org.exoplatform.social.core.activity.model.ExoSocialActivity getI18N(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
           
 String getLastReplyLink()
           
 String getNumberOfReplies()
           
 double getRate()
           
protected  String getReplyLink()
           
static String getSpaceHomeURL(String spaceGroupId)
          Gets the space home url of a space.
 String getViewLink()
           
protected  String getViewPostLink(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
           
 boolean isTopicActivity()
           
 
Methods inherited from class org.exoplatform.forum.ext.impl.BaseKSActivity
getActivityParamValue, getSpaceAvatarImageSource, getUriOfAuthor, getUserAvatarImageSource, getUserFullName, getUserProfileUri
 
Methods inherited from class org.exoplatform.social.webui.activity.BaseUIActivity
commentListToggleable, event, getActivity, getActivityCommentsListAccess, getAllComments, getCommentListStatus, getCommentMaxCharactersAllowed, getCommentMinCharactersAllowed, getComments, getCurrentLoadIndex, getDisplayedIdentityLikes, getIdentityLikes, getLoadCapacity, getOwnerIdentity, getPostedTimeInSpaceString, getPostedTimeString, getSpaceCreatorIdentity, isActivityCommentable, isActivityCommentAndLikable, isActivityDeletable, isAllCommentsHidden, isAllLoaded, isCommentDeletable, isCommentFormDisplayed, isCommentFormFocused, isLiked, isNoLongerExisting, isSpaceActivity, isSpaceStreamOwner, isUISpaceActivitiesDisplay, isUserActivity, processRender, refresh, saveComment, setActivity, setActivityCommentsListAccess, setAllCommentsHidden, setAllLoaded, setCommentFormDisplayed, setCommentFormFocused, setCommentListStatus, setCommentMaxCharactersAllowed, setCommentMinCharactersAllowed, setIdenityLikes, setLike, setLoadCapacity, setOwnerIdentity
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForumUIActivity

public ForumUIActivity()
Method Detail

getReplyLink

protected String getReplyLink()

buildTopicLink

public String buildTopicLink(String spaceGroupId,
                             String topicId)
                      throws Exception
Throws:
Exception

getSpaceHomeURL

public static String getSpaceHomeURL(String spaceGroupId)
Gets the space home url of a space.

Parameters:
space -
Returns:
Since:
4.x

getViewLink

public String getViewLink()

getLastReplyLink

public String getLastReplyLink()

getViewPostLink

protected String getViewPostLink(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)

getNumberOfReplies

public String getNumberOfReplies()

getRate

public double getRate()

isTopicActivity

public boolean isTopicActivity()

createPost

public org.exoplatform.forum.service.Post createPost(String message,
                                                     org.exoplatform.webui.application.WebuiRequestContext requestContext)

getI18N

protected org.exoplatform.social.core.activity.model.ExoSocialActivity getI18N(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
Overrides:
getI18N in class org.exoplatform.social.webui.activity.BaseUIActivity


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.