public class SharedCloudFileUIActivity
extends org.exoplatform.wcm.ext.component.activity.FileUIActivity
org.exoplatform.wcm.ext.component.activity.FileUIActivity.DownloadDocumentActionListener, org.exoplatform.wcm.ext.component.activity.FileUIActivity.OpenFileActionListener, org.exoplatform.wcm.ext.component.activity.FileUIActivity.ViewDocumentActionListenerorg.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 |
ACTIVITY_CSS_CLASS
The Constant ACTIVITY_CSS_CLASS.
|
protected org.exoplatform.clouddrive.CloudDriveService |
cloudDrives
The cloud drives.
|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
ACTIVITY_STATUS, AUTHOR, CONTENT_LINK, CONTENT_NAME, DATE_CREATED, DOCUMENT_SUMMARY, DOCUMENT_TITLE, DOCUMENT_TYPE_LABEL, DOCUMENT_VERSION, EMPTY_ARRAY, filesCount, ID, IMAGE_PATH, IS_SYSTEM_COMMENT, LAST_MODIFIED, MESSAGE, MIME_TYPE, SEPARATOR_REGEX, STATE, SYSTEM_COMMENT| Constructor and Description |
|---|
SharedCloudFileUIActivity()
Instantiates a new shared cloud file UI activity.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.exoplatform.clouddrive.CloudFile |
cloudFile(javax.jcr.Node node)
Cloud file.
|
String |
getAuthor(int i) |
protected String |
getCssClassIconFile(String fileName,
String fileType,
int i) |
protected String |
getDocUpdateDate(javax.jcr.Node node) |
String |
getDownloadLink(int i) |
protected double |
getFileSize(javax.jcr.Node node) |
protected String |
getSize(javax.jcr.Node node) |
String |
getUserFullName(String userName) |
String |
getWebdavURL(int i) |
boolean |
isFileSupportPreview(javax.jcr.Node data) |
canEditDocument, editActivity, getActivityEditLink, getActivityStatus, getActivityTitle, getContainerName, getContentLink, getContentName, getContentNode, getCurrentDocOpenUri, getDateCreated, getDateTimeFormatter, getDefaultIconClass, getDocDrive, getDocFileBreadCrumb, getDocFilePath, getDocFolderRelativePath, getDocFolderRelativePathWithLinks, getDocLastModifier, getDocOpenUri, getDocSummary, getDocTitle, getDocTypeName, getDocumentSummary, getDocVersion, getDownloadAllLink, getEditLink, getFilesCount, getImageHeight, getImagePath, getImageWidth, getLastModified, getMessage, getMimeType, getNodeLocation, getNodeUUID, getSpaceAvatarImageSource, getState, getSummary, getSystemCommentBundle, getSystemCommentTitle, getTitle, getUserAvatarImageSource, getUserProfileUri, getVersion, isSymlink, setActivityTitle, setAuthor, setContentLink, setContentName, setContentNode, setDateCreated, setImagePath, setLastModified, setMessage, setMimeType, setNodeLocation, setNodeUUID, setState, setUIActivityDatacommentListToggleable, 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 ACTIVITY_CSS_CLASS
protected static final org.exoplatform.services.log.Log LOG
protected final org.exoplatform.clouddrive.CloudDriveService cloudDrives
protected String getSize(javax.jcr.Node node)
getSize in class org.exoplatform.wcm.ext.component.activity.FileUIActivityprotected double getFileSize(javax.jcr.Node node)
getFileSize in class org.exoplatform.wcm.ext.component.activity.FileUIActivitypublic String getWebdavURL(int i) throws Exception
getWebdavURL in class org.exoplatform.wcm.ext.component.activity.FileUIActivityExceptionprotected String getCssClassIconFile(String fileName, String fileType, int i)
getCssClassIconFile in class org.exoplatform.wcm.ext.component.activity.FileUIActivitypublic String getDownloadLink(int i)
getDownloadLink in class org.exoplatform.wcm.ext.component.activity.FileUIActivitypublic boolean isFileSupportPreview(javax.jcr.Node data)
throws Exception
isFileSupportPreview in class org.exoplatform.wcm.ext.component.activity.FileUIActivityExceptionpublic String getAuthor(int i)
getAuthor in class org.exoplatform.wcm.ext.component.activity.FileUIActivityprotected String getDocUpdateDate(javax.jcr.Node node)
getDocUpdateDate in class org.exoplatform.wcm.ext.component.activity.FileUIActivityprotected org.exoplatform.clouddrive.CloudFile cloudFile(javax.jcr.Node node)
node - the nodeCopyright © 2003–2020 eXo Platform SAS. All rights reserved.