com.atlassian.confluence.plugins.rest.entities
Class ContentEntity

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.entities.SearchResultEntity
      extended by com.atlassian.confluence.plugins.rest.entities.ContentEntity

@Expander(value=ContentEntityExpander.class)
public class ContentEntity
extends SearchResultEntity

A simple bean to represent ContentEntityObject.


Field Summary
 
Fields inherited from class com.atlassian.confluence.plugins.rest.entities.SearchResultEntity
id
 
Constructor Summary
ContentEntity()
           
 
Method Summary
 void addLink(com.atlassian.plugins.rest.common.Link link)
           
 AttachmentEntityList getAttachments()
           
 java.lang.String getBody()
           
 ContentEntityList getChildren()
           
 CommentEntityTree getComments()
           
 DateEntity getCreatedDate()
           
 DateEntity getLastModifiedDate()
           
 java.lang.String getParentId()
           
 SpaceEntity getSpace()
           
 com.atlassian.plugins.rest.common.Link getThumbnailLink()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 java.lang.String getUsername()
           
 java.lang.String getWikiLink()
           
 void setAttachments(AttachmentEntityList attachmentEntityList)
           
 void setBody(java.lang.String body)
           
 void setChildren(ContentEntityList children)
           
 void setComments(CommentEntityTree comments)
           
 void setCreatedDate(DateEntity date)
           
 void setLastModifiedDate(DateEntity lastModifiedDate)
           
 void setParentId(java.lang.String parentId)
           
 void setSpace(SpaceEntity space)
           
 void setThumbnailLink(com.atlassian.plugins.rest.common.Link thumbnailLink)
           
 void setTitle(java.lang.String title)
           
 void setType(java.lang.String type)
           
 void setUsername(java.lang.String username)
           
 void setWikiLink(java.lang.String wikiLink)
           
 java.lang.String toString()
          String representation is only used for diagnostic purposes.
 
Methods inherited from class com.atlassian.confluence.plugins.rest.entities.SearchResultEntity
getId, getIdLong, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentEntity

public ContentEntity()
Method Detail

getParentId

public java.lang.String getParentId()

setParentId

public void setParentId(java.lang.String parentId)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getBody

public java.lang.String getBody()

setBody

public void setBody(java.lang.String body)

getChildren

public ContentEntityList getChildren()

setChildren

public void setChildren(ContentEntityList children)

getComments

public CommentEntityTree getComments()

setComments

public void setComments(CommentEntityTree comments)

getWikiLink

public java.lang.String getWikiLink()

setWikiLink

public void setWikiLink(java.lang.String wikiLink)

toString

public java.lang.String toString()
String representation is only used for diagnostic purposes.

Overrides:
toString in class java.lang.Object

setLastModifiedDate

public void setLastModifiedDate(DateEntity lastModifiedDate)

getLastModifiedDate

public DateEntity getLastModifiedDate()

setSpace

public void setSpace(SpaceEntity space)

getSpace

public SpaceEntity getSpace()

getThumbnailLink

public com.atlassian.plugins.rest.common.Link getThumbnailLink()

setThumbnailLink

public void setThumbnailLink(com.atlassian.plugins.rest.common.Link thumbnailLink)

setAttachments

public void setAttachments(AttachmentEntityList attachmentEntityList)

getAttachments

public AttachmentEntityList getAttachments()

setCreatedDate

public void setCreatedDate(DateEntity date)

getCreatedDate

public DateEntity getCreatedDate()

setUsername

public void setUsername(java.lang.String username)

getUsername

public java.lang.String getUsername()

addLink

public void addLink(com.atlassian.plugins.rest.common.Link link)


Copyright © 2003-2010 Atlassian. All Rights Reserved.