Class ContentStatus

  • All Implemented Interfaces:
    ApiEnum

    @ExperimentalApi
    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 Detail

      • 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
    • Method Detail

      • valueOf

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