Class TaskJcrAttachmentsProvider.JcrTaskAttachmentItem
java.lang.Object
com.webmethods.caf.jcr.faces.data.JcrAttachmentsProvider.JcrAttachmentItem
com.webmethods.caf.faces.data.task.TaskJcrAttachmentsProvider.JcrTaskAttachmentItem
- All Implemented Interfaces:
IAttachmentItem
- Enclosing class:
- TaskJcrAttachmentsProvider
protected class TaskJcrAttachmentsProvider.JcrTaskAttachmentItem
extends JcrAttachmentsProvider.JcrAttachmentItem
-
Field Summary
Fields inherited from class com.webmethods.caf.jcr.faces.data.JcrAttachmentsProvider.JcrAttachmentItem
fileNode, mwsRepositoryPath
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the URL for downloading the file to a browser.Methods inherited from class com.webmethods.caf.jcr.faces.data.JcrAttachmentsProvider.JcrAttachmentItem
getContentLength, getContentType, getFileItem, getFileName, getIconUrl, getId, getLastModifiedDate, isDeletable, isUpdatable
-
Constructor Details
-
JcrTaskAttachmentItem
public JcrTaskAttachmentItem(javax.jcr.Node fileNode)
-
-
Method Details
-
getDownloadLink
Description copied from interface:IAttachmentItem
Returns the URL for downloading the file to a browser. The URL can be absolute (i.e. http://mysite/att/myfile.txt) or relative to some path in the webapp (i.e. /myappcontext/mycustomdownloadservlet/myfile.txt).- Specified by:
getDownloadLink
in interfaceIAttachmentItem
- Overrides:
getDownloadLink
in classJcrAttachmentsProvider.JcrAttachmentItem
-