Class BaseUIActivity
- java.lang.Object
-
- org.exoplatform.webui.core.UIComponent
-
- org.exoplatform.webui.core.UIContainer
-
- org.exoplatform.webui.form.UIForm
-
- org.exoplatform.social.webui.activity.BaseUIActivity
-
- Direct Known Subclasses:
UIDefaultActivity,UILinkActivity
@Deprecated public class BaseUIActivity extends org.exoplatform.webui.form.UIForm
Deprecated.Kept for backward compatibility for conf of other community addons deployed on Tribe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBaseUIActivity.CommentStatusDeprecated.static classBaseUIActivity.DeleteActivityActionListenerDeprecated.static classBaseUIActivity.DeleteCommentActionListenerDeprecated.static classBaseUIActivity.EditActivityActionListenerDeprecated.static classBaseUIActivity.EditCommentActionListenerDeprecated.static classBaseUIActivity.HideActivityActionListenerDeprecated.static classBaseUIActivity.LikeActivityActionListenerDeprecated.static classBaseUIActivity.LikeCommentActionListenerDeprecated.static classBaseUIActivity.LoadLikesActionListenerDeprecated.static classBaseUIActivity.PostCommentActionListenerDeprecated.static classBaseUIActivity.RefreshActivityActionListenerDeprecated.static classBaseUIActivity.SetCommentListStatusActionListenerDeprecated.static classBaseUIActivity.ToggleDisplayCommentFormActionListenerDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPOSER_TEXT_AREA_EDIT_INPUTDeprecated.protected static intLIKES_NUM_DEFAULTDeprecated.static StringTEMPLATE_PARAM_COMMENTDeprecated.
-
Constructor Summary
Constructors Constructor Description BaseUIActivity()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancommentListToggleable()Deprecated.protected voideditActivity(String message)Deprecated.protected org.exoplatform.social.core.activity.model.ExoSocialActivityeditCommentMessage(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity, String message)Deprecated.Stringevent(String actionName, String callback, boolean updateForm)Deprecated.protected voidfocusToComment(String commentId)Deprecated.StringgetAbsolutePostedTime(Long postedTime)Deprecated.org.exoplatform.social.core.activity.model.ExoSocialActivitygetActivity()Deprecated.org.exoplatform.social.common.RealtimeListAccess<org.exoplatform.social.core.activity.model.ExoSocialActivity>getActivityCommentsListAccess()Deprecated.protected StringgetActivityPermalink(String activityId)Deprecated.List<org.exoplatform.social.core.activity.model.ExoSocialActivity>getAllComments()Deprecated.intgetAllCommentSize()Deprecated.StringgetAndSetUpdatedCommentId(String newValue)Deprecated.org.exoplatform.social.core.identity.model.IdentitygetCommenterIdentity()Deprecated.BaseUIActivity.CommentStatusgetCommentListStatus()Deprecated.intgetCommentMaxCharactersAllowed()Deprecated.intgetCommentMinCharactersAllowed()Deprecated.protected StringgetCommentPermalink(String activityId, String commentId)Deprecated.List<org.exoplatform.social.core.activity.model.ExoSocialActivity>getComments()Deprecated.intgetCurrentLoadIndex()Deprecated.String[]getDisplayedIdentityLikes()Deprecated.protected org.exoplatform.social.core.activity.model.ExoSocialActivitygetI18N(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)Deprecated.String[]getIdentityLikes()Deprecated.intgetLoadCapacity()Deprecated.org.exoplatform.social.core.identity.model.IdentitygetOwnerIdentity()Deprecated.intgetParentCommentsSize(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments)Deprecated.StringgetPostedTimeString(org.exoplatform.webui.core.lifecycle.WebuiBindingContext webuiBindingContext, long postedTime)Deprecated.StringgetRelativeTimeLabel(org.exoplatform.webui.core.lifecycle.WebuiBindingContext webuiBindingContext, long postedTime)Deprecated.org.exoplatform.social.core.identity.model.IdentitygetSpaceCreatorIdentity()Deprecated.StringgetSpaceGroupId()Deprecated.StringgetSpaceURL()Deprecated.intgetSubCommentsSize(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments, String commentActivityId)Deprecated.protected voidhideActivity()Deprecated.booleanisActivityCommentable()Deprecated.booleanisActivityCommentAndLikable()Deprecated.booleanisActivityDeletable()Deprecated.booleanisActivityEditable(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)Deprecated.booleanisActivityShareable()Deprecated.booleanisAllCommentsHidden()Deprecated.booleanisAllLoaded()Deprecated.booleanisCommentDeletable(String activityUserId)Deprecated.booleanisCommentFormDisplayed()Deprecated.booleanisCommentFormFocused()Deprecated.booleanisDeletedSpace(String streamOwner)Deprecated.booleanisLiked()Deprecated.protected booleanisNoLongerExisting(String activityId)Deprecated.protected booleanisNoLongerExisting(String activityId, org.exoplatform.webui.event.Event<BaseUIActivity> event)Deprecated.booleanisSpaceActivity()Deprecated.protected booleanisSpaceStreamOwner()Deprecated.booleanisSubCommentOfComment(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments, String commentId, String subCommentId)Deprecated.protected booleanisUISpaceActivitiesDisplay()Deprecated.booleanisUserActivity()Deprecated.voidprocessRender(org.exoplatform.webui.application.WebuiRequestContext context)Deprecated.protected voidrefresh()Deprecated.protected org.exoplatform.social.core.activity.model.ExoSocialActivitysaveComment(String remoteUser, String message, String commentId)Deprecated.voidsetActivity(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)Deprecated.voidsetActivityCommentsListAccess(org.exoplatform.social.common.RealtimeListAccess<org.exoplatform.social.core.activity.model.ExoSocialActivity> activityCommentsListAccess)Deprecated.voidsetAllCommentsHidden(boolean allCommentsHidden)Deprecated.voidsetAllLoaded(boolean allLoaded)Deprecated.voidsetCommentFormDisplayed(boolean commentFormDisplayed)Deprecated.voidsetCommentFormFocused(boolean commentFormFocused)Deprecated.voidsetCommentListStatus(BaseUIActivity.CommentStatus status)Deprecated.voidsetCommentMaxCharactersAllowed(int num)Deprecated.voidsetCommentMinCharactersAllowed(int num)Deprecated.voidsetIdenityLikes(String[] identityLikes)Deprecated.voidsetLike(boolean isLiked)Deprecated.voidsetLikeComment(boolean isLiked, String commentId)Deprecated.voidsetLoadCapacity(int loadCapacity)Deprecated.voidsetOwnerIdentity(org.exoplatform.social.core.identity.model.Identity ownerIdentity)Deprecated.-
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, buildModelObject, 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
-
-
-
-
Field Detail
-
LIKES_NUM_DEFAULT
protected static final int LIKES_NUM_DEFAULT
Deprecated.- See Also:
- Constant Field Values
-
TEMPLATE_PARAM_COMMENT
public static final String TEMPLATE_PARAM_COMMENT
Deprecated.- See Also:
- Constant Field Values
-
COMPOSER_TEXT_AREA_EDIT_INPUT
public static final String COMPOSER_TEXT_AREA_EDIT_INPUT
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getActivityCommentsListAccess
public org.exoplatform.social.common.RealtimeListAccess<org.exoplatform.social.core.activity.model.ExoSocialActivity> getActivityCommentsListAccess()
Deprecated.
-
setActivityCommentsListAccess
public void setActivityCommentsListAccess(org.exoplatform.social.common.RealtimeListAccess<org.exoplatform.social.core.activity.model.ExoSocialActivity> activityCommentsListAccess)
Deprecated.
-
getSpaceGroupId
public String getSpaceGroupId()
Deprecated.
-
getSpaceURL
public String getSpaceURL()
Deprecated.
-
getCurrentLoadIndex
public int getCurrentLoadIndex()
Deprecated.
-
getLoadCapacity
public int getLoadCapacity()
Deprecated.
-
setLoadCapacity
public void setLoadCapacity(int loadCapacity)
Deprecated.
-
getActivity
public org.exoplatform.social.core.activity.model.ExoSocialActivity getActivity()
Deprecated.
-
setActivity
public void setActivity(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
Deprecated.
-
getCommentMinCharactersAllowed
public int getCommentMinCharactersAllowed()
Deprecated.
-
setCommentMinCharactersAllowed
public void setCommentMinCharactersAllowed(int num)
Deprecated.
-
getCommentMaxCharactersAllowed
public int getCommentMaxCharactersAllowed()
Deprecated.
-
setCommentMaxCharactersAllowed
public void setCommentMaxCharactersAllowed(int num)
Deprecated.
-
isCommentFormDisplayed
public boolean isCommentFormDisplayed()
Deprecated.
-
setCommentFormDisplayed
public void setCommentFormDisplayed(boolean commentFormDisplayed)
Deprecated.
-
isAllLoaded
public boolean isAllLoaded()
Deprecated.
-
setAllLoaded
public void setAllLoaded(boolean allLoaded)
Deprecated.
-
isAllCommentsHidden
public boolean isAllCommentsHidden()
Deprecated.
-
setAllCommentsHidden
public void setAllCommentsHidden(boolean allCommentsHidden)
Deprecated.
-
isCommentFormFocused
public boolean isCommentFormFocused()
Deprecated.
-
setCommentFormFocused
public void setCommentFormFocused(boolean commentFormFocused)
Deprecated.
-
getCommentListStatus
public BaseUIActivity.CommentStatus getCommentListStatus()
Deprecated.
-
setCommentListStatus
public void setCommentListStatus(BaseUIActivity.CommentStatus status)
Deprecated.
-
commentListToggleable
public boolean commentListToggleable()
Deprecated.
-
getComments
public List<org.exoplatform.social.core.activity.model.ExoSocialActivity> getComments()
Deprecated.
-
getParentCommentsSize
public int getParentCommentsSize(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments)
Deprecated.
-
getSubCommentsSize
public int getSubCommentsSize(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments, String commentActivityId)
Deprecated.
-
isSubCommentOfComment
public boolean isSubCommentOfComment(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments, String commentId, String subCommentId)
Deprecated.
-
getAllComments
public List<org.exoplatform.social.core.activity.model.ExoSocialActivity> getAllComments()
Deprecated.
-
getAllCommentSize
public int getAllCommentSize()
Deprecated.
-
getIdentityLikes
public String[] getIdentityLikes()
Deprecated.
-
getDisplayedIdentityLikes
public String[] getDisplayedIdentityLikes() throws Exception
Deprecated.- Throws:
Exception
-
setIdenityLikes
public void setIdenityLikes(String[] identityLikes)
Deprecated.
-
event
public String event(String actionName, String callback, boolean updateForm) throws Exception
Deprecated.- Throws:
Exception
-
getPostedTimeString
@Deprecated public String getPostedTimeString(org.exoplatform.webui.core.lifecycle.WebuiBindingContext webuiBindingContext, long postedTime) throws Exception
Deprecated.- Throws:
Exception
-
getRelativeTimeLabel
public String getRelativeTimeLabel(org.exoplatform.webui.core.lifecycle.WebuiBindingContext webuiBindingContext, long postedTime)
Deprecated.
-
saveComment
protected org.exoplatform.social.core.activity.model.ExoSocialActivity saveComment(String remoteUser, String message, String commentId) throws Exception
Deprecated.- Throws:
Exception
-
editActivity
protected void editActivity(String message)
Deprecated.
-
hideActivity
protected void hideActivity()
Deprecated.
-
editCommentMessage
protected org.exoplatform.social.core.activity.model.ExoSocialActivity editCommentMessage(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity, String message)Deprecated.
-
setLikeComment
public void setLikeComment(boolean isLiked, String commentId)Deprecated.
-
getCommentPermalink
protected String getCommentPermalink(String activityId, String commentId)
Deprecated.
-
refresh
protected void refresh() throws org.exoplatform.social.core.storage.ActivityStorageExceptionDeprecated.- Throws:
org.exoplatform.social.core.storage.ActivityStorageException
-
isUserActivity
public boolean isUserActivity()
Deprecated.
-
isSpaceActivity
public boolean isSpaceActivity()
Deprecated.
-
isActivityDeletable
public boolean isActivityDeletable() throws org.exoplatform.social.core.space.SpaceExceptionDeprecated.- Throws:
org.exoplatform.social.core.space.SpaceException
-
isActivityShareable
public boolean isActivityShareable()
Deprecated.
-
isActivityEditable
public boolean isActivityEditable(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
Deprecated.
-
isActivityCommentAndLikable
public boolean isActivityCommentAndLikable() throws ExceptionDeprecated.- Throws:
Exception
-
isActivityCommentable
public boolean isActivityCommentable() throws ExceptionDeprecated.- Throws:
Exception
-
isCommentDeletable
public boolean isCommentDeletable(String activityUserId) throws org.exoplatform.social.core.space.SpaceException
Deprecated.- Throws:
org.exoplatform.social.core.space.SpaceException
-
getOwnerIdentity
public org.exoplatform.social.core.identity.model.Identity getOwnerIdentity()
Deprecated.
-
setOwnerIdentity
public void setOwnerIdentity(org.exoplatform.social.core.identity.model.Identity ownerIdentity)
Deprecated.
-
getSpaceCreatorIdentity
public org.exoplatform.social.core.identity.model.Identity getSpaceCreatorIdentity()
Deprecated.
-
isSpaceStreamOwner
protected boolean isSpaceStreamOwner()
Deprecated.
-
isUISpaceActivitiesDisplay
protected boolean isUISpaceActivitiesDisplay()
Deprecated.
-
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context) throws ExceptionDeprecated.- Overrides:
processRenderin classorg.exoplatform.webui.form.UIForm- Throws:
Exception
-
isNoLongerExisting
protected boolean isNoLongerExisting(String activityId, org.exoplatform.webui.event.Event<BaseUIActivity> event)
Deprecated.
-
isNoLongerExisting
protected boolean isNoLongerExisting(String activityId)
Deprecated.
-
isDeletedSpace
public boolean isDeletedSpace(String streamOwner)
Deprecated.
-
getCommenterIdentity
public org.exoplatform.social.core.identity.model.Identity getCommenterIdentity()
Deprecated.
-
getI18N
protected org.exoplatform.social.core.activity.model.ExoSocialActivity getI18N(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
Deprecated.
-
focusToComment
protected void focusToComment(String commentId)
Deprecated.
-
-