public class OutlookAttachmentActivity
extends org.exoplatform.wcm.ext.component.activity.FileUIActivity
| Modifier and Type | Class and Description |
|---|---|
class |
OutlookAttachmentActivity.Attachment
Deprecated.
|
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_TYPE
The Constant ACTIVITY_TYPE.
|
static String |
AUTHOR
The Constant AUTHOR.
|
static String |
COMMENT
The Constant COMMENT.
|
static String |
DATE_CREATED
The Constant DATE_CREATED.
|
static String |
DATE_LAST_MODIFIED
The Constant DATE_LAST_MODIFIED.
|
static String |
DEFAULT_DATE_FORMAT
The Constant DEFAULT_DATE_FORMAT.
|
static String |
DEFAULT_TIME_FORMAT
The Constant DEFAULT_TIME_FORMAT.
|
static String |
DOCLINK
The Constant Link to document.
|
static String |
DOCNAME
The Constant DOCNAME.
|
static String |
DOCPATH
The Constant DOCPATH.
|
static String |
DOCTITLE
The Constant FILES.
|
protected org.exoplatform.services.cms.documents.DocumentService |
documentService
The document service.
|
protected List<org.exoplatform.wcm.ext.component.activity.ActivityFileAttachment> |
files
The files.
|
static String |
FILES
The Constant FILES.
|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
static String |
PATH
The Constant DOCPATH.
|
protected org.exoplatform.services.jcr.core.ManageableRepository |
repository
The repository.
|
static String |
REPOSITORY
The Constant REPOSITORY.
|
protected OutlookActivitySupport |
util
The util.
|
static String |
WORKSPACE
The Constant WORKSPACE.
|
ACTIVITY_STATUS, CONTENT_LINK, CONTENT_NAME, 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 |
|---|
OutlookAttachmentActivity()
Instantiates a new outlook attachment activity.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
attachmentString(String fileUUID,
String name)
Deprecated.
|
String |
getComment()
Gets the comment.
|
List<org.exoplatform.wcm.ext.component.activity.ActivityFileAttachment> |
getFiles()
Deprecated.
|
String[] |
getSystemCommentBundle(Map<String,String> activityParams)
Gets the system comment bundle.
|
String[] |
getSystemCommentTitle(Map<String,String> activityParams)
Gets the system comment title.
|
String |
getWorkspace()
Gets the workspace.
|
void |
renderAttachmentPresentation(javax.jcr.Node node)
Render attachment presentation.
|
void |
setUIActivityData(Map<String,String> activityParams) |
String |
toString() |
canEditDocument, editActivity, getActivityEditLink, getActivityStatus, getActivityTitle, getAuthor, getContainerName, getContentLink, getContentName, getContentNode, getCssClassIconFile, getCurrentDocOpenUri, getDateCreated, getDateTimeFormatter, getDefaultIconClass, getDocDrive, getDocFileBreadCrumb, getDocFilePath, getDocFolderRelativePath, getDocFolderRelativePathWithLinks, getDocLastModifier, getDocOpenUri, getDocSummary, getDocTitle, getDocTypeName, getDocumentSummary, getDocUpdateDate, getDocVersion, getDownloadAllLink, getDownloadLink, getEditLink, getFilesCount, getFileSize, getImageHeight, getImagePath, getImageWidth, getLastModified, getMessage, getMimeType, getNodeLocation, getNodeUUID, getSize, getSpaceAvatarImageSource, getState, getSummary, getTitle, getUserAvatarImageSource, getUserFullName, getUserProfileUri, getVersion, getWebdavURL, isFileSupportPreview, isSymlink, setActivityTitle, setAuthor, setContentLink, setContentName, setContentNode, setDateCreated, setImagePath, setLastModified, setMessage, setMimeType, setNodeLocation, setNodeUUID, setStatecommentListToggleable, 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_TYPE
public static final String COMMENT
public static final String REPOSITORY
public static final String WORKSPACE
public static final String FILES
public static final String DOCTITLE
public static final String AUTHOR
public static final String DATE_CREATED
public static final String DOCLINK
public static final String DOCPATH
public static final String PATH
public static final String DOCNAME
public static final String DATE_LAST_MODIFIED
public static final String DEFAULT_DATE_FORMAT
public static final String DEFAULT_TIME_FORMAT
protected static final org.exoplatform.services.log.Log LOG
protected List<org.exoplatform.wcm.ext.component.activity.ActivityFileAttachment> files
protected org.exoplatform.services.jcr.core.ManageableRepository repository
protected org.exoplatform.services.cms.documents.DocumentService documentService
protected final OutlookActivitySupport util
public void setUIActivityData(Map<String,String> activityParams)
setUIActivityData in class org.exoplatform.wcm.ext.component.activity.FileUIActivity@Deprecated public List<org.exoplatform.wcm.ext.component.activity.ActivityFileAttachment> getFiles() throws javax.jcr.RepositoryException, org.exoplatform.services.jcr.config.RepositoryConfigurationException
javax.jcr.RepositoryException - the repository exceptionorg.exoplatform.services.jcr.config.RepositoryConfigurationException - the repository configuration exceptionpublic void renderAttachmentPresentation(javax.jcr.Node node)
throws Exception
node - the nodeException - the exceptionpublic String[] getSystemCommentBundle(Map<String,String> activityParams)
getSystemCommentBundle in class org.exoplatform.wcm.ext.component.activity.FileUIActivityactivityParams - the activity paramspublic String[] getSystemCommentTitle(Map<String,String> activityParams)
getSystemCommentTitle in class org.exoplatform.wcm.ext.component.activity.FileUIActivityactivityParams - the activity paramspublic String getWorkspace()
public String getComment()
@Deprecated public static String attachmentString(String fileUUID, String name)
fileUUID - the file UUIDname - the nameCopyright © 2003–2020 eXo Platform SAS. All rights reserved.