Class 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
    • Constructor Detail

      • BaseUIActivity

        public BaseUIActivity()
        Deprecated.
    • 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.
      • 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.
      • getAbsolutePostedTime

        public String getAbsolutePostedTime​(Long postedTime)
        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

        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.
      • setLike

        public void setLike​(boolean isLiked)
                     throws Exception
        Deprecated.
        Throws:
        Exception
      • setLikeComment

        public void setLikeComment​(boolean isLiked,
                                   String commentId)
        Deprecated.
      • getAndSetUpdatedCommentId

        public String getAndSetUpdatedCommentId​(String newValue)
        Deprecated.
      • getActivityPermalink

        protected String getActivityPermalink​(String activityId)
        Deprecated.
      • getCommentPermalink

        protected String getCommentPermalink​(String activityId,
                                             String commentId)
        Deprecated.
      • refresh

        protected void refresh()
                        throws org.exoplatform.social.core.storage.ActivityStorageException
        Deprecated.
        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.SpaceException
        Deprecated.
        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 Exception
        Deprecated.
        Throws:
        Exception
      • isActivityCommentable

        public boolean isActivityCommentable()
                                      throws Exception
        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:
        processRender in class org.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.