public class UIDocActivity
extends org.exoplatform.social.webui.activity.BaseUIActivity
| Modifier and Type | Class and Description |
|---|---|
static class |
UIDocActivity.DownloadDocumentActionListener |
static class |
UIDocActivity.ViewDocumentActionListener |
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.EditActivityActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.EditCommentActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.LikeActivityActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.LikeCommentActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.LoadLikesActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.PostCommentActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.SetCommentListStatusActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.ToggleDisplayCommentFormActionListener| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHOR |
static String |
CONTENT_LINK |
static String |
CONTENT_NAME |
static String |
DATE_CREATED |
String |
docLink |
static String |
DOCLINK |
String |
docName |
static String |
DOCNAME |
String |
docPath |
static String |
DOCPATH |
static String |
DOCUMENT_SUMMARY |
static String |
DOCUMENT_TITLE |
static String |
DOCUMENT_TYPE_LABEL |
static String |
DOCUMENT_VERSION |
static String |
ID |
static String |
IMAGE_PATH |
static String |
IS_SYMLINK |
static String |
LAST_MODIFIED |
String |
message |
static String |
MESSAGE |
static String |
MIME_TYPE |
String |
repository |
static String |
REPOSITORY |
static String |
STATE |
String |
workspace |
static String |
WORKSPACE |
| Constructor and Description |
|---|
UIDocActivity() |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateThumbnailImageURI(javax.jcr.Node file)
Generate the Thumbnail Image URI.
|
static String |
getActivityOwnerId(javax.jcr.Node node)
get activity owner
|
static String |
getContentLink(javax.jcr.Node node)
Generate the viewer link to site explorer by node
|
protected String |
getCssClassIconFile(String fileName,
String fileType) |
protected javax.jcr.Node |
getDocNode() |
String |
getDocOpenUri() |
protected String |
getDocThumbnail() |
static String |
getIllustrativeImage(javax.jcr.Node node)
Gets the illustrative image.
|
static String |
getMimeType(javax.jcr.Node node)
Get the MimeType
|
protected String |
getSize() |
String |
getSummary()
Gets the summary.
|
String |
getTitle() |
protected int |
getVersion() |
String |
getWebdavURL()
Gets the webdav url.
|
protected boolean |
isDisplayThumbnail(String mimeType) |
protected boolean |
isImageFile() |
protected boolean |
isPreviewable() |
commentListToggleable, editActivity, editCommentMessage, event, focusToComment, getAbsolutePostedTime, getActivity, getActivityCommentsListAccess, getActivityPermalink, getAllComments, getAllCommentSize, getAndSetUpdatedCommentId, getCommenterIdentity, getCommentListStatus, getCommentMaxCharactersAllowed, getCommentMinCharactersAllowed, getCommentPermalink, getComments, getCurrentLoadIndex, getDisplayedIdentityLikes, getI18N, getIdentityLikes, getLoadCapacity, getOwnerIdentity, getParentCommentsSize, getPostedTimeString, getRelativeTimeLabel, getSpaceCreatorIdentity, getSpaceGroupId, getSpaceURL, getSubCommentsSize, isActivityCommentable, isActivityCommentAndLikable, isActivityDeletable, isActivityEditable, isAllCommentsHidden, isAllLoaded, isCommentDeletable, isCommentFormDisplayed, isCommentFormFocused, isDeletedSpace, isLiked, isNoLongerExisting, isNoLongerExisting, isSpaceActivity, isSpaceStreamOwner, isSubCommentOfComment, isUISpaceActivitiesDisplay, isUserActivity, processRender, refresh, saveComment, setActivity, setActivityCommentsListAccess, setAllCommentsHidden, setAllLoaded, setCommentFormDisplayed, setCommentFormFocused, setCommentListStatus, setCommentMaxCharactersAllowed, setCommentMinCharactersAllowed, setIdenityLikes, setLike, setLikeComment, setLoadCapacity, setOwnerIdentityaddUIComponentInput, 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, urladdChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, 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, urlpublic static final String DOCLINK
public static final String MESSAGE
public static final String REPOSITORY
public static final String WORKSPACE
public static final String DOCNAME
public static final String ID
public static final String DOCPATH
public static final String CONTENT_NAME
public static final String CONTENT_LINK
public static final String IMAGE_PATH
public static final String MIME_TYPE
public static final String STATE
public static final String AUTHOR
public static final String DATE_CREATED
public static final String LAST_MODIFIED
public static final String DOCUMENT_TYPE_LABEL
public static final String DOCUMENT_TITLE
public static final String DOCUMENT_VERSION
public static final String DOCUMENT_SUMMARY
public static final String IS_SYMLINK
public String docLink
public String message
public String docName
public String docPath
public String repository
public String workspace
protected boolean isPreviewable()
protected boolean isImageFile()
protected String getDocThumbnail()
protected String getSize()
protected int getVersion()
protected boolean isDisplayThumbnail(String mimeType)
public String getDocOpenUri()
protected javax.jcr.Node getDocNode()
public String getWebdavURL() throws Exception
Exception - the exceptionpublic String getSummary()
public static String getActivityOwnerId(javax.jcr.Node node)
public static String getIllustrativeImage(javax.jcr.Node node)
node - the nodepublic static String generateThumbnailImageURI(javax.jcr.Node file) throws Exception
file - the nodeException - the exceptionpublic static String getContentLink(javax.jcr.Node node) throws Exception
node - the nodejavax.jcr.RepositoryExceptionExceptionpublic static String getMimeType(javax.jcr.Node node)
node - the nodeCopyright © 2003–2020 eXo Platform SAS. All rights reserved.