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(Map data)
           
 
Method Summary
 String getComment()
          comment for the attachment {color:#cc3300}(Required){color}
 String getContentType()
          mime content type of the attachment {color:#cc0000}(Required){color}
 Date getCreated()
          creation date of the attachment
 String getCreator()
          creator of the attachment
 String getFileName()
          file name of the attachment {color:#cc3300}(Required){color}
 String getFileSize()
          numeric file size of the attachment in bytes
 String getId()
          numeric id of the attachment
 String getPageId()
          page ID of the attachment
 String getTitle()
          title of the attachment
 String getUrl()
          url to download the attachment online
 void setComment(String comment)
           
 void setContentType(String contentType)
           
 void setCreated(Date created)
           
 void setCreator(String creator)
           
 void setFileName(String fileName)
           
 void setFileSize(String fileSize)
           
 void setId(String id)
           
 void setPageId(String pageId)
           
 void setTitle(String title)
           
 void setUrl(String url)
           
 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(Map data)
Method Detail

getId

public String getId()
numeric id of the attachment


setId

public void setId(String id)

getPageId

public String getPageId()
page ID of the attachment


setPageId

public void setPageId(String 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}


setFileName

public void setFileName(String fileName)

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)

getCreated

public Date getCreated()
creation date of the 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)

toRawMap

public Map toRawMap()
Overrides:
toRawMap in class MapObject


Copyright © 2011. All Rights Reserved.