Class ContentStatus
java.lang.Object
com.atlassian.confluence.api.model.BaseApiEnum
com.atlassian.confluence.api.model.content.ContentStatus
- All Implemented Interfaces:
ApiEnum
The state of a piece of content.
Content state can be used for filtering and for limiting the operations that can be performed on the content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<ContentStatus>static final ContentStatusThe default state of content ready to be viewed and edited.static final ContentStatusThe state of content that has not yet been publishedstatic final ContentStatusThe state of content that is not at its latest versionstatic final ContentStatusThe state of content that has been trashed but not yet purged from the system.Fields inherited from class com.atlassian.confluence.api.model.BaseApiEnum
value -
Method Summary
Modifier and TypeMethodDescriptiongetStatusNames(List<ContentStatus> statuses) static ContentStatusReturn theContentTypefor the given type string.
-
Field Details
-
CURRENT
The default state of content ready to be viewed and edited. -
TRASHED
The state of content that has been trashed but not yet purged from the system. -
HISTORICAL
The state of content that is not at its latest version -
DRAFT
The state of content that has not yet been published- Since:
- 5.10
-
BUILT_IN
-
-
Method Details
-
valueOf
Return theContentTypefor the given type string. Built-in type constants will be returned if matched. -
getStatusNames
-