org.exoplatform.wcm.ext.component.activity
Class ContentUIActivity
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.social.webui.activity.BaseUIActivity
org.exoplatform.wcm.ext.component.activity.ContentUIActivity
public class ContentUIActivity
- extends org.exoplatform.social.webui.activity.BaseUIActivity
Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Mar
15, 2011
| 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.PostCommentActionListener, 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 |
| 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 |
| 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, isCommentDeletable, isCommentFormDisplayed, isCommentFormFocused, isLiked, isLikesDisplayed, isSpaceActivity, isSpaceStreamOwner, isUISpaceActivitiesDisplay, isUserActivity, processRender, refresh, 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 |
ACTIVITY_TYPE
public static final String ACTIVITY_TYPE
- See Also:
- Constant Field Values
ID
public static final String ID
- See Also:
- Constant Field Values
CONTENT_LINK
public static final String CONTENT_LINK
- See Also:
- Constant Field Values
MESSAGE
public static final String MESSAGE
- See Also:
- Constant Field Values
REPOSITORY
public static final String REPOSITORY
- See Also:
- Constant Field Values
WORKSPACE
public static final String WORKSPACE
- See Also:
- Constant Field Values
CONTENT_NAME
public static final String CONTENT_NAME
- See Also:
- Constant Field Values
IMAGE_PATH
public static final String IMAGE_PATH
- See Also:
- Constant Field Values
MIME_TYPE
public static final String MIME_TYPE
- See Also:
- Constant Field Values
STATE
public static final String STATE
- See Also:
- Constant Field Values
AUTHOR
public static final String AUTHOR
- See Also:
- Constant Field Values
DATE_CREATED
public static final String DATE_CREATED
- See Also:
- Constant Field Values
LAST_MODIFIED
public static final String LAST_MODIFIED
- See Also:
- Constant Field Values
ContentUIActivity
public ContentUIActivity()
throws Exception
- Throws:
Exception
getContentLink
public String getContentLink()
setContentLink
public void setContentLink(String contentLink)
getMessage
public String getMessage()
setMessage
public void setMessage(String message)
getContentName
public String getContentName()
setContentName
public void setContentName(String contentName)
getImagePath
public String getImagePath()
setImagePath
public void setImagePath(String imagePath)
getMimeType
public String getMimeType()
setMimeType
public void setMimeType(String mimeType)
getNodeUUID
public String getNodeUUID()
setNodeUUID
public void setNodeUUID(String nodeUUID)
getState
public String getState()
setState
public void setState(String state)
getAuthor
public String getAuthor()
setAuthor
public void setAuthor(String author)
getDateCreated
public String getDateCreated()
throws ParseException
- Throws:
ParseException
setDateCreated
public void setDateCreated(String dateCreated)
getLastModified
public String getLastModified()
throws ParseException
- Throws:
ParseException
setLastModified
public void setLastModified(String lastModified)
getContentNode
public javax.jcr.Node getContentNode()
setContentNode
public void setContentNode(javax.jcr.Node contentNode)
getNodeLocation
public org.exoplatform.services.wcm.core.NodeLocation getNodeLocation()
setNodeLocation
public void setNodeLocation(org.exoplatform.services.wcm.core.NodeLocation nodeLocation)
getSummary
public String getSummary(javax.jcr.Node node)
- Gets the summary.
- Parameters:
node - the node
- Returns:
- the summary of Node. Return empty string if catch an exception.
getUserFullName
public String getUserFullName(String userId)
getUserProfileUri
public String getUserProfileUri(String userId)
getUserAvatarImageSource
public String getUserAvatarImageSource(String userId)
getSpaceAvatarImageSource
public String getSpaceAvatarImageSource(String spaceIdentityId)
setUIActivityData
public void setUIActivityData(Map<String,String> activityParams)
getWebdavURL
public String getWebdavURL()
throws Exception
- Gets the webdav url.
- Parameters:
node - the node
- Returns:
- the webdav url
- Throws:
Exception - the exception
Copyright © 2013 eXo Platform SAS. All Rights Reserved.