com.atlassian.confluence.legacyapi.model.content
Class ContentType

java.lang.Object
  extended by com.atlassian.confluence.legacyapi.model.content.ContentType

public final class ContentType
extends Object

Represents a type of content. This class is a simple wrapper around a string. For built-in content types it will match the internal String name for the content type. For custom content types it will be the plugin key of the content type's provider.


Field Summary
static ContentType BLOG_POST
           
static ContentType COMMENT
           
static ContentType GLOBAL_DESCRIPTION
           
static ContentType PAGE
           
static ContentType PERSONAL_INFORMATION
           
static ContentType SPACE_DESCRIPTION
           
static ContentType STATUS_UPDATE
           
 
Method Summary
static ContentType forName(String typeName)
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE

public static final ContentType PAGE

BLOG_POST

public static final ContentType BLOG_POST

COMMENT

public static final ContentType COMMENT

STATUS_UPDATE

public static final ContentType STATUS_UPDATE

SPACE_DESCRIPTION

public static final ContentType SPACE_DESCRIPTION

GLOBAL_DESCRIPTION

public static final ContentType GLOBAL_DESCRIPTION

PERSONAL_INFORMATION

public static final ContentType PERSONAL_INFORMATION
Method Detail

forName

public static ContentType forName(String typeName)

getType

public String getType()


Copyright © 2003–2015 Atlassian. All rights reserved.