|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAttachmentItem
This interface describes the contract for items exposed by an IAttachmentsProvider
Method Summary | |
---|---|
long |
getContentLength()
Returns the length of the file (number of bytes). |
String |
getContentType()
Returns the MIME type of the file content. |
String |
getDownloadLink()
Returns the URL for downloading the file to a browser. |
FileItem |
getFileItem()
Returns respective implementation of FileItem from this IAttachmentItem |
String |
getFileName()
Returns the name of the attachment item. |
String |
getIconUrl()
Returns the icon url (may be null) |
String |
getId()
Returns the id of the attachment |
Date |
getLastModifiedDate()
Returns the date when the attachment was last modified |
boolean |
isDeletable()
Returns whether the attachment is deletable by the current user |
boolean |
isUpdatable()
Returns whether the attachment is updateable by the current user |
Method Detail |
---|
String getId()
long getContentLength()
String getContentType()
String getFileName()
String getDownloadLink()
String getIconUrl()
Date getLastModifiedDate()
boolean isUpdatable()
boolean isDeletable()
FileItem getFileItem() throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |