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.
Kept for backward compatibility for conf of other community
addons deployed on Tribe
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.protected static final intDeprecated.static final StringDeprecated.Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_IDFields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.protected voideditActivity(String message) Deprecated.protected org.exoplatform.social.core.activity.model.ExoSocialActivityeditCommentMessage(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity, String message) Deprecated.Deprecated.protected voidfocusToComment(String commentId) Deprecated.getAbsolutePostedTime(Long postedTime) Deprecated.org.exoplatform.social.core.activity.model.ExoSocialActivityDeprecated.org.exoplatform.social.common.RealtimeListAccess<org.exoplatform.social.core.activity.model.ExoSocialActivity>Deprecated.protected StringgetActivityPermalink(String activityId) Deprecated.List<org.exoplatform.social.core.activity.model.ExoSocialActivity>Deprecated.intDeprecated.getAndSetUpdatedCommentId(String newValue) Deprecated.org.exoplatform.social.core.identity.model.IdentityDeprecated.Deprecated.intDeprecated.intDeprecated.protected StringgetCommentPermalink(String activityId, String commentId) Deprecated.List<org.exoplatform.social.core.activity.model.ExoSocialActivity>Deprecated.intDeprecated.String[]Deprecated.protected org.exoplatform.social.core.activity.model.ExoSocialActivitygetI18N(org.exoplatform.social.core.activity.model.ExoSocialActivity activity) Deprecated.String[]Deprecated.intDeprecated.org.exoplatform.social.core.identity.model.IdentityDeprecated.intgetParentCommentsSize(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments) Deprecated.getPostedTimeString(org.exoplatform.webui.core.lifecycle.WebuiBindingContext webuiBindingContext, long postedTime) Deprecated.getRelativeTimeLabel(org.exoplatform.webui.core.lifecycle.WebuiBindingContext webuiBindingContext, long postedTime) Deprecated.org.exoplatform.social.core.identity.model.IdentityDeprecated.Deprecated.Deprecated.intgetSubCommentsSize(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments, String commentActivityId) Deprecated.protected voidDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanisActivityEditable(org.exoplatform.social.core.activity.model.ExoSocialActivity activity) Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanisCommentDeletable(String activityUserId) Deprecated.booleanDeprecated.booleanDeprecated.booleanisDeletedSpace(String streamOwner) Deprecated.booleanisLiked()Deprecated.protected booleanisNoLongerExisting(String activityId) Deprecated.protected booleanisNoLongerExisting(String activityId, org.exoplatform.webui.event.Event<BaseUIActivity> event) Deprecated.booleanDeprecated.protected booleanDeprecated.booleanisSubCommentOfComment(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> comments, String commentId, String subCommentId) Deprecated.protected booleanDeprecated.booleanDeprecated.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.voidDeprecated.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, urlMethods 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, setRenderedChildrenOfTypesMethods 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 Details
-
LIKES_NUM_DEFAULT
protected static final int LIKES_NUM_DEFAULTDeprecated.- See Also:
-
TEMPLATE_PARAM_COMMENT
Deprecated.- See Also:
-
COMPOSER_TEXT_AREA_EDIT_INPUT
Deprecated.- See Also:
-
-
Constructor Details
-
BaseUIActivity
public BaseUIActivity()Deprecated.
-
-
Method Details
-
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
Deprecated. -
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
Deprecated. -
setCommentListStatus
Deprecated. -
commentListToggleable
public boolean commentListToggleable()Deprecated. -
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
Deprecated. -
getAllCommentSize
public int getAllCommentSize()Deprecated. -
getIdentityLikes
Deprecated. -
getDisplayedIdentityLikes
Deprecated.- Throws:
Exception
-
setIdenityLikes
Deprecated. -
event
Deprecated.- Throws:
Exception
-
getAbsolutePostedTime
Deprecated. -
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
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. -
setLike
Deprecated.- Throws:
Exception
-
setLikeComment
Deprecated. -
getAndSetUpdatedCommentId
Deprecated. -
getActivityPermalink
Deprecated. -
getCommentPermalink
Deprecated. -
isLiked
Deprecated.- Throws:
Exception
-
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
-
isActivityEditable
public boolean isActivityEditable(org.exoplatform.social.core.activity.model.ExoSocialActivity activity) Deprecated. -
isActivityCommentAndLikable
Deprecated.- Throws:
Exception
-
isActivityCommentable
Deprecated.- 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 Exception Deprecated.- Overrides:
processRenderin classorg.exoplatform.webui.form.UIForm- Throws:
Exception
-
isNoLongerExisting
protected boolean isNoLongerExisting(String activityId, org.exoplatform.webui.event.Event<BaseUIActivity> event) Deprecated. -
isNoLongerExisting
Deprecated. -
isDeletedSpace
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
Deprecated.
-