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 SummaryFieldsModifier 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.BaseApiEnumvalue
- 
Method SummaryModifier and TypeMethodDescriptiongetStatusNames(List<ContentStatus> statuses) static ContentStatusReturn theContentTypefor the given type string.
- 
Field Details- 
CURRENTThe default state of content ready to be viewed and edited.
- 
TRASHEDThe state of content that has been trashed but not yet purged from the system.
- 
HISTORICALThe state of content that is not at its latest version
- 
DRAFTThe state of content that has not yet been published- Since:
- 5.10
 
- 
BUILT_IN
 
- 
- 
Method Details- 
valueOfReturn theContentTypefor the given type string. Built-in type constants will be returned if matched.
- 
getStatusNames
 
-