public class OutlookAttachmentActivity.Attachment extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Attachment(String fileUUID,
String name)
Instantiates a new attachment.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCssClassIcon()
Gets the css class icon.
|
String |
getDownloadLink()
Gets the download link.
|
String |
getFileUUID()
Gets the file UUID.
|
String |
getFullPath()
Gets the full path.
|
String |
getLink()
Deprecated.
|
String |
getMimeType()
Gets the mime type.
|
String |
getName()
Gets the name.
|
javax.jcr.Node |
getNode()
Gets the node.
|
String |
getOpenLink()
Gets the open link.
|
String |
getPdfThumbnailImageLink()
Gets the pdf thumbnail image link.
|
String |
getPreviewLink(org.exoplatform.webui.core.lifecycle.WebuiBindingContext ctx)
Gets the preview link.
|
String |
getSize()
Gets the size.
|
String |
getSummary()
Gets the summary.
|
String |
getThumbnailImageLink()
Gets the thumbnail image link.
|
String |
getTitle()
Gets file title.
|
String |
getViewLink()
Deprecated.
|
boolean |
isExists()
Checks if is exists.
|
boolean |
isImage()
Checks if is image.
|
boolean |
isSupportPreview()
Checks if is support preview.
|
boolean |
isSupportThumbnailView()
Checks if is support thumbnail view.
|
protected javax.jcr.Node |
node()
Node.
|
public String getName()
public String getFileUUID()
public String getTitle()
public String getMimeType()
public boolean isImage()
throws Exception
Exception - the exceptionpublic String getSize()
public boolean isSupportPreview()
throws Exception
Exception - the exceptionpublic String getDownloadLink()
public String getPdfThumbnailImageLink() throws javax.jcr.RepositoryException, UnsupportedEncodingException
javax.jcr.RepositoryException - the repository exceptionUnsupportedEncodingException - the unsupported encoding exceptionpublic String getThumbnailImageLink() throws javax.jcr.RepositoryException, UnsupportedEncodingException
javax.jcr.RepositoryException - the repository exceptionUnsupportedEncodingException - the unsupported encoding exceptionpublic String getOpenLink()
public String getPreviewLink(org.exoplatform.webui.core.lifecycle.WebuiBindingContext ctx)
ctx - the ctx@Deprecated public String getViewLink()
@Deprecated public String getLink() throws Exception
Exception - the exceptionpublic String getCssClassIcon()
public boolean isSupportThumbnailView()
throws Exception
Exception - the exceptionpublic boolean isExists()
throws javax.jcr.RepositoryException
true when node exists, false otherwisejavax.jcr.RepositoryException - when errorpublic String getSummary()
public javax.jcr.Node getNode()
throws javax.jcr.RepositoryException
nulljavax.jcr.RepositoryException - when strorage errorprotected javax.jcr.Node node()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - the repository exceptionpublic String getFullPath() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - the repository exceptionCopyright © 2003–2017 eXo Platform SAS. All rights reserved.