Class ContentStatus

java.lang.Object
com.atlassian.confluence.api.model.BaseApiEnum
com.atlassian.confluence.api.model.content.ContentStatus
All Implemented Interfaces:
ApiEnum

public final class ContentStatus extends BaseApiEnum
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 Details

    • CURRENT

      public static final ContentStatus CURRENT
      The default state of content ready to be viewed and edited.
    • TRASHED

      public static final ContentStatus TRASHED
      The state of content that has been trashed but not yet purged from the system.
    • HISTORICAL

      public static final ContentStatus HISTORICAL
      The state of content that is not at its latest version
    • DRAFT

      public static final ContentStatus DRAFT
      The state of content that has not yet been published
      Since:
      5.10
    • BUILT_IN

      public static final List<ContentStatus> BUILT_IN
  • Method Details

    • valueOf

      public static ContentStatus valueOf(String str)
      Return the ContentType for the given type string. Built-in type constants will be returned if matched.