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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleangetSpace()getTitle()getType()com.atlassian.sal.api.user.UserKeyinthashCode()voidsetAttachments(AttachmentEntityList attachmentEntityList) voidsetChildren(ContentEntityList children) voidsetComments(CommentEntityTree comments) voidsetContentBody(ContentBodyEntity contentBodyEntity) voidsetCreatedDate(DateEntity date) voidsetCreator(UserEntity creator) voidsetIconClass(String iconClass) voidsetLabels(LabelEntityList labels) voidsetLastModifiedDate(DateEntity lastModifiedDate) voidsetLastModifier(UserEntity lastModifier) voidsetParentId(String parentId) voidsetSpace(SpaceEntity space) voidsetThumbnailLink(Link thumbnailLink) voidvoidvoidsetUserKey(com.atlassian.sal.api.user.UserKey userKey) voidsetUsername(String username) voidsetWikiLink(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
-
setThumbnailLink
-
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
-
toString
- Overrides:
toStringin classSearchResultEntity
-
equals
- Overrides:
equalsin classSearchResultEntity
-
hashCode
public int hashCode()- Overrides:
hashCodein classSearchResultEntity
-