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 java.lang.String ACTIVITY_TYPE
- See Also:
- Constant Field Values
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
CONTENT_LINK
public static final java.lang.String CONTENT_LINK
- See Also:
- Constant Field Values
MESSAGE
public static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
REPOSITORY
public static final java.lang.String REPOSITORY
- See Also:
- Constant Field Values
WORKSPACE
public static final java.lang.String WORKSPACE
- See Also:
- Constant Field Values
CONTENT_NAME
public static final java.lang.String CONTENT_NAME
- See Also:
- Constant Field Values
IMAGE_PATH
public static final java.lang.String IMAGE_PATH
- See Also:
- Constant Field Values
MIME_TYPE
public static final java.lang.String MIME_TYPE
- See Also:
- Constant Field Values
STATE
public static final java.lang.String STATE
- See Also:
- Constant Field Values
AUTHOR
public static final java.lang.String AUTHOR
- See Also:
- Constant Field Values
DATE_CREATED
public static final java.lang.String DATE_CREATED
- See Also:
- Constant Field Values
LAST_MODIFIED
public static final java.lang.String LAST_MODIFIED
- See Also:
- Constant Field Values
ContentUIActivity
public ContentUIActivity()
throws java.lang.Exception
- Throws:
java.lang.Exception
getContentLink
public java.lang.String getContentLink()
setContentLink
public void setContentLink(java.lang.String contentLink)
getMessage
public java.lang.String getMessage()
setMessage
public void setMessage(java.lang.String message)
getContentName
public java.lang.String getContentName()
setContentName
public void setContentName(java.lang.String contentName)
getImagePath
public java.lang.String getImagePath()
setImagePath
public void setImagePath(java.lang.String imagePath)
getMimeType
public java.lang.String getMimeType()
setMimeType
public void setMimeType(java.lang.String mimeType)
getNodeUUID
public java.lang.String getNodeUUID()
setNodeUUID
public void setNodeUUID(java.lang.String nodeUUID)
getState
public java.lang.String getState()
setState
public void setState(java.lang.String state)
getAuthor
public java.lang.String getAuthor()
setAuthor
public void setAuthor(java.lang.String author)
getDateCreated
public java.lang.String getDateCreated()
throws java.text.ParseException
- Throws:
java.text.ParseException
setDateCreated
public void setDateCreated(java.lang.String dateCreated)
getLastModified
public java.lang.String getLastModified()
throws java.text.ParseException
- Throws:
java.text.ParseException
setLastModified
public void setLastModified(java.lang.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 java.lang.String getSummary(javax.jcr.Node node)
throws java.lang.Exception
- Gets the summary.
- Parameters:
node - the node
- Returns:
- the summary
- Throws:
java.lang.Exception - the exception
getUserFullName
public java.lang.String getUserFullName(java.lang.String userId)
getUserProfileUri
public java.lang.String getUserProfileUri(java.lang.String userId)
getUserAvatarImageSource
public java.lang.String getUserAvatarImageSource(java.lang.String userId)
getSpaceAvatarImageSource
public java.lang.String getSpaceAvatarImageSource(java.lang.String spaceIdentityId)
setUIActivityData
public void setUIActivityData(java.util.Map<java.lang.String,java.lang.String> activityParams)
getWebdavURL
public java.lang.String getWebdavURL()
throws java.lang.Exception
- Gets the webdav url.
- Parameters:
node - the node
- Returns:
- the webdav url
- Throws:
java.lang.Exception - the exception
Copyright © 2013 eXo Platform SAS. All Rights Reserved.