Package org.bsc.confluence.xmlrpc.model
Class Attachment
- java.lang.Object
-
- org.bsc.confluence.xmlrpc.model.MapObject
-
- org.bsc.confluence.xmlrpc.model.Attachment
-
- All Implemented Interfaces:
ConfluenceService.Model.Attachment
public class Attachment extends MapObject implements ConfluenceService.Model.Attachment
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description Attachment()Attachment(Map<String,Object> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()comment for the attachment {color:#cc3300}(Required){color}StringgetContentType()mime content type of the attachment {color:#cc0000}(Required){color}DategetCreated()creation date of the attachmentStringgetCreator()creator of the attachmentStringgetFileName()file name of the attachment {color:#cc3300}(Required){color}StringgetFileSize()numeric file size of the attachment in bytesConfluenceService.Model.IDgetId()numeric id of the attachmentConfluenceService.Model.IDgetPageId()page ID of the attachmentStringgetTitle()title of the attachmentStringgetUrl()url to download the attachment onlinevoidsetComment(String comment)voidsetContentType(String contentType)voidsetCreated(Date created)voidsetCreator(String creator)voidsetFileName(String fileName)voidsetFileSize(String fileSize)voidsetId(ConfluenceService.Model.ID id)voidsetPageId(ConfluenceService.Model.ID pageId)voidsetTitle(String title)voidsetUrl(String url)Map<String,Object>toRawMap()StringtoString()
-
-
-
Method Detail
-
getId
public ConfluenceService.Model.ID getId()
numeric id of the attachment
-
setId
public void setId(ConfluenceService.Model.ID id)
-
getPageId
public ConfluenceService.Model.ID getPageId()
page ID of the attachment
-
setPageId
public void setPageId(ConfluenceService.Model.ID pageId)
-
getTitle
public String getTitle()
title of the attachment
-
setTitle
public void setTitle(String title)
-
getFileName
public String getFileName()
file name of the attachment {color:#cc3300}(Required){color}- Specified by:
getFileNamein interfaceConfluenceService.Model.Attachment
-
setFileName
public void setFileName(String fileName)
- Specified by:
setFileNamein interfaceConfluenceService.Model.Attachment
-
getFileSize
public String getFileSize()
numeric file size of the attachment in bytes
-
setFileSize
public void setFileSize(String fileSize)
-
getContentType
public String getContentType()
mime content type of the attachment {color:#cc0000}(Required){color}
-
setContentType
public void setContentType(String contentType)
- Specified by:
setContentTypein interfaceConfluenceService.Model.Attachment
-
getCreated
public Date getCreated()
creation date of the attachment- Specified by:
getCreatedin interfaceConfluenceService.Model.Attachment
-
setCreated
public void setCreated(Date created)
-
getCreator
public String getCreator()
creator of the attachment
-
setCreator
public void setCreator(String creator)
-
getUrl
public String getUrl()
url to download the attachment online
-
setUrl
public void setUrl(String url)
-
getComment
public String getComment()
comment for the attachment {color:#cc3300}(Required){color}
-
setComment
public void setComment(String comment)
- Specified by:
setCommentin interfaceConfluenceService.Model.Attachment
-
-