org.codehaus.swizzle.confluence
Class Attachment

java.lang.Object
  extended by org.codehaus.swizzle.confluence.MapObject
      extended by org.codehaus.swizzle.confluence.Attachment

public class Attachment
extends MapObject

Version:
$Revision$ $Date$

Field Summary
 
Fields inherited from class org.codehaus.swizzle.confluence.MapObject
fields
 
Constructor Summary
Attachment()
           
Attachment(java.util.Map data)
           
 
Method Summary
 java.lang.String getComment()
          comment for the attachment {color:#cc3300}(Required){color}
 java.lang.String getContentType()
          mime content type of the attachment {color:#cc0000}(Required){color}
 java.util.Date getCreated()
          creation date of the attachment
 java.lang.String getCreator()
          creator of the attachment
 java.lang.String getFileName()
          file name of the attachment {color:#cc3300}(Required){color}
 java.lang.String getFileSize()
          numeric file size of the attachment in bytes
 java.lang.String getId()
          numeric id of the attachment
 java.lang.String getPageId()
          page ID of the attachment
 java.lang.String getTitle()
          title of the attachment
 java.lang.String getUrl()
          url to download the attachment online
 void setComment(java.lang.String comment)
           
 void setContentType(java.lang.String contentType)
           
 void setCreated(java.util.Date created)
           
 void setCreator(java.lang.String creator)
           
 void setFileName(java.lang.String fileName)
           
 void setFileSize(java.lang.String fileSize)
           
 void setId(java.lang.String id)
           
 void setPageId(java.lang.String pageId)
           
 void setTitle(java.lang.String title)
           
 void setUrl(java.lang.String url)
           
 java.util.Map toRawMap()
           
 
Methods inherited from class org.codehaus.swizzle.confluence.MapObject
getBoolean, getDate, getInt, getList, getMap, getString, setBoolean, setBoolean, setDate, setDate, setInt, setInt, setList, setMap, setString, toMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment()

Attachment

public Attachment(java.util.Map data)
Method Detail

getId

public java.lang.String getId()
numeric id of the attachment


setId

public void setId(java.lang.String id)

getPageId

public java.lang.String getPageId()
page ID of the attachment


setPageId

public void setPageId(java.lang.String pageId)

getTitle

public java.lang.String getTitle()
title of the attachment


setTitle

public void setTitle(java.lang.String title)

getFileName

public java.lang.String getFileName()
file name of the attachment {color:#cc3300}(Required){color}


setFileName

public void setFileName(java.lang.String fileName)

getFileSize

public java.lang.String getFileSize()
numeric file size of the attachment in bytes


setFileSize

public void setFileSize(java.lang.String fileSize)

getContentType

public java.lang.String getContentType()
mime content type of the attachment {color:#cc0000}(Required){color}


setContentType

public void setContentType(java.lang.String contentType)

getCreated

public java.util.Date getCreated()
creation date of the attachment


setCreated

public void setCreated(java.util.Date created)

getCreator

public java.lang.String getCreator()
creator of the attachment


setCreator

public void setCreator(java.lang.String creator)

getUrl

public java.lang.String getUrl()
url to download the attachment online


setUrl

public void setUrl(java.lang.String url)

getComment

public java.lang.String getComment()
comment for the attachment {color:#cc3300}(Required){color}


setComment

public void setComment(java.lang.String comment)

toRawMap

public java.util.Map toRawMap()
Overrides:
toRawMap in class MapObject


Copyright © 2011. All Rights Reserved.