com.atlassian.confluence.api.model.content
Class ContentStatus

java.lang.Object
  extended by com.atlassian.confluence.api.model.BaseApiEnum
      extended by com.atlassian.confluence.api.model.content.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 Summary
static List<ContentStatus> BUILT_IN
           
static ContentStatus CURRENT
          The default state of content ready to be viewed and edited.
static ContentStatus HISTORICAL
          The state of content that is not at its latest version
static ContentStatus TRASHED
          The 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
static ContentStatus valueOf(String str)
          Return the ContentType for the given type string.
 
Methods inherited from class com.atlassian.confluence.api.model.BaseApiEnum
equals, getValue, hashCode, in, serialise, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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


BUILT_IN

public static final List<ContentStatus> BUILT_IN
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.



Copyright © 2003–2015 Atlassian. All rights reserved.