Class ContentEntity
- java.lang.Object
-
- com.atlassian.confluence.plugins.rest.entities.SearchResultEntity
-
- com.atlassian.confluence.plugins.rest.entities.ContentEntity
-
@Expander(ContentEntityExpander.class) public class ContentEntity extends SearchResultEntity
A simple bean to representContentEntityObject
.
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugins.rest.entities.SearchResultEntity
id
-
-
Constructor Summary
Constructors Constructor Description ContentEntity()
-
Method Summary
-
Methods inherited from class com.atlassian.confluence.plugins.rest.entities.SearchResultEntity
getId, getIdLong, setId
-
-
-
-
Method Detail
-
getParentId
public String getParentId()
-
setParentId
public void setParentId(String parentId)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getContentBody
public ContentBodyEntity getContentBody()
-
setContentBody
public void setContentBody(ContentBodyEntity contentBodyEntity)
-
getChildren
public ContentEntityList getChildren()
-
setChildren
public void setChildren(ContentEntityList children)
-
getComments
public CommentEntityTree getComments()
-
setComments
public void setComments(CommentEntityTree comments)
-
getWikiLink
public String getWikiLink()
-
setWikiLink
public void setWikiLink(String wikiLink)
-
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()
-
getLabels
public LabelEntityList getLabels()
-
setLabels
public void setLabels(LabelEntityList labels)
-
setCreatedDate
public void setCreatedDate(DateEntity date)
-
getCreatedDate
public DateEntity getCreatedDate()
-
setUsername
public void setUsername(String username)
-
getUsername
public String getUsername()
-
getUserKey
public com.atlassian.sal.api.user.UserKey getUserKey()
-
setUserKey
public void setUserKey(com.atlassian.sal.api.user.UserKey userKey)
-
getCreator
public UserEntity getCreator()
-
setCreator
public void setCreator(UserEntity creator)
-
getLastModifier
public UserEntity getLastModifier()
-
setLastModifier
public void setLastModifier(UserEntity lastModifier)
-
getIconClass
public String getIconClass()
-
setIconClass
public void setIconClass(String iconClass)
-
addLink
public void addLink(com.atlassian.plugins.rest.common.Link link)
-
toString
public String toString()
- Overrides:
toString
in classSearchResultEntity
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSearchResultEntity
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSearchResultEntity
-
-