org.exoplatform.ks.ext.impl
Class AnswerUIActivity

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.ks.ext.impl.BaseKSActivity
                      extended by org.exoplatform.ks.ext.impl.AnswerUIActivity

public class AnswerUIActivity
extends BaseKSActivity


Nested Class Summary
static class AnswerUIActivity.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.SetCommentListStatusActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.ToggleDisplayCommentFormActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.ToggleDisplayLikesActionListener
 
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.ks.ext.impl.BaseKSActivity
log
 
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
AnswerUIActivity()
           
 
Method Summary
 java.lang.String getActivityIconStatus()
           
static java.lang.String getFullName(java.lang.String userName)
           
static java.lang.String getLinkDiscuss(java.lang.String topicId)
           
 boolean isCommentDeletable(java.lang.String activityUserId)
           
 boolean isQuestionActivity()
           
protected  void refresh()
           
 
Methods inherited from class org.exoplatform.ks.ext.impl.BaseKSActivity
getActivityParamValue, getSpaceAvatarImageSource, getUriOfAuthor, getUserAvatarImageSource, getUserFullName, getUserProfileUri
 
Methods inherited from class org.exoplatform.social.webui.activity.BaseUIActivity
commentListToggleable, event, getActivity, getAllComments, getCommentListStatus, getCommentMaxCharactersAllowed, getCommentMinCharactersAllowed, getComments, getDisplayedIdentityLikes, getIdentityLikes, getOwnerIdentity, getPostedTimeInSpaceString, getPostedTimeString, isActivityCommentAndLikable, isActivityDeletable, isAllCommentsHidden, isCommentFormDisplayed, isCommentFormFocused, isLiked, isLikesDisplayed, isSpaceActivity, isSpaceStreamOwner, isUISpaceActivitiesDisplay, isUserActivity, processRender, saveComment, setActivity, setAllCommentsHidden, setCommentFormDisplayed, setCommentFormFocused, setCommentListStatus, setCommentMaxCharactersAllowed, setCommentMinCharactersAllowed, setIdenityLikes, setLike, setLikesDisplayed, 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

AnswerUIActivity

public AnswerUIActivity()
Method Detail

refresh

protected void refresh()
                throws org.exoplatform.social.core.storage.ActivityStorageException
Overrides:
refresh in class org.exoplatform.social.webui.activity.BaseUIActivity
Throws:
org.exoplatform.social.core.storage.ActivityStorageException

isCommentDeletable

public boolean isCommentDeletable(java.lang.String activityUserId)
                           throws org.exoplatform.social.core.space.SpaceException
Overrides:
isCommentDeletable in class org.exoplatform.social.webui.activity.BaseUIActivity
Throws:
org.exoplatform.social.core.space.SpaceException

isQuestionActivity

public boolean isQuestionActivity()

getActivityIconStatus

public java.lang.String getActivityIconStatus()

getFullName

public static java.lang.String getFullName(java.lang.String userName)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getLinkDiscuss

public static java.lang.String getLinkDiscuss(java.lang.String topicId)
                                       throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2014 eXo Platform SAS. All Rights Reserved.