Class ContentEntity
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.entities.SearchResultEntity
com.atlassian.confluence.plugins.rest.jackson2.entities.ContentEntity
A simple bean to represent
ContentEntityObject
.-
Field Summary
Fields inherited from class com.atlassian.confluence.plugins.rest.jackson2.entities.SearchResultEntity
id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLink
(com.atlassian.plugins.rest.api.model.Link link) boolean
getSpace()
com.atlassian.plugins.rest.api.model.Link
getTitle()
getType()
com.atlassian.sal.api.user.UserKey
int
hashCode()
void
setAttachments
(AttachmentEntityList attachmentEntityList) void
setChildren
(ContentEntityList children) void
setComments
(CommentEntityTree comments) void
setContentBody
(ContentBodyEntity contentBodyEntity) void
setCreatedDate
(DateEntity date) void
setCreator
(UserEntity creator) void
setIconClass
(String iconClass) void
setLabels
(LabelEntityList labels) void
setLastModifiedDate
(DateEntity lastModifiedDate) void
setLastModifier
(UserEntity lastModifier) void
setParentId
(String parentId) void
setSpace
(SpaceEntity space) void
setThumbnailLink
(com.atlassian.plugins.rest.api.model.Link thumbnailLink) void
void
void
setUserKey
(com.atlassian.sal.api.user.UserKey userKey) void
setUsername
(String username) void
setWikiLink
(String wikiLink) toString()
Methods inherited from class com.atlassian.confluence.plugins.rest.jackson2.entities.SearchResultEntity
getId, getIdLong, setId
-
Constructor Details
-
ContentEntity
public ContentEntity()
-
-
Method Details
-
getParentId
-
setParentId
-
getType
-
setType
-
getTitle
-
setTitle
-
getContentBody
-
setContentBody
-
getChildren
-
setChildren
-
getComments
-
setComments
-
getWikiLink
-
setWikiLink
-
setLastModifiedDate
-
getLastModifiedDate
-
setSpace
-
getSpace
-
getThumbnailLink
public com.atlassian.plugins.rest.api.model.Link getThumbnailLink() -
setThumbnailLink
public void setThumbnailLink(com.atlassian.plugins.rest.api.model.Link thumbnailLink) -
setAttachments
-
getAttachments
-
getLabels
-
setLabels
-
setCreatedDate
-
getCreatedDate
-
setUsername
-
getUsername
-
getUserKey
public com.atlassian.sal.api.user.UserKey getUserKey() -
setUserKey
public void setUserKey(com.atlassian.sal.api.user.UserKey userKey) -
getCreator
-
setCreator
-
getLastModifier
-
setLastModifier
-
getIconClass
-
setIconClass
-
addLink
public void addLink(com.atlassian.plugins.rest.api.model.Link link) -
toString
- Overrides:
toString
in classSearchResultEntity
-
equals
- Overrides:
equals
in classSearchResultEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSearchResultEntity
-