|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ContentTypeEnum>
com.atlassian.confluence.search.service.ContentTypeEnum
public enum ContentTypeEnum
An enum representing the different content types that may be specified in a search.
| Enum Constant Summary | |
|---|---|
ATTACHMENT
|
|
BLOG
|
|
COMMENT
|
|
CUSTOM
|
|
DRAFT
|
|
MAIL
|
|
PAGE
|
|
PERSONAL_INFORMATION
|
|
PERSONAL_SPACE_DESCRIPTION
|
|
SPACE
|
|
SPACE_DESCRIPTION
|
|
USER_STATUS
|
|
| Method Summary | |
|---|---|
static ContentTypeEnum |
get(String representation)
Deprecated. since 3.0. Use getByRepresentation(java.lang.String) or getByClassName(java.lang.String) instead. |
static ContentTypeEnum |
getByClassName(String className)
|
static ContentTypeEnum |
getByRepresentation(String representation)
|
String |
getRepresentation()
|
Class<? extends com.atlassian.core.bean.EntityObject> |
getType()
|
String |
getTypeClass()
Deprecated. since 3.1 use getTypeName() |
String |
getTypeName()
|
String |
toString()
|
static ContentTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ContentTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ContentTypeEnum PAGE
public static final ContentTypeEnum COMMENT
public static final ContentTypeEnum BLOG
public static final ContentTypeEnum ATTACHMENT
public static final ContentTypeEnum PERSONAL_INFORMATION
public static final ContentTypeEnum SPACE_DESCRIPTION
public static final ContentTypeEnum PERSONAL_SPACE_DESCRIPTION
public static final ContentTypeEnum MAIL
public static final ContentTypeEnum USER_STATUS
public static final ContentTypeEnum SPACE
public static final ContentTypeEnum DRAFT
public static final ContentTypeEnum CUSTOM
| Method Detail |
|---|
public static ContentTypeEnum[] values()
for (ContentTypeEnum c : ContentTypeEnum.values()) System.out.println(c);
public static ContentTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getRepresentation()
@Deprecated public String getTypeClass()
getTypeName()
public Class<? extends com.atlassian.core.bean.EntityObject> getType()
public String getTypeName()
public String toString()
toString in class Enum<ContentTypeEnum>@Deprecated public static ContentTypeEnum get(String representation)
getByRepresentation(java.lang.String) or getByClassName(java.lang.String) instead.
public static ContentTypeEnum getByRepresentation(String representation)
representation - the String representation of the enum. e.g. Page.CONTENT_TYPE
public static ContentTypeEnum getByClassName(String className)
className - fully qualified class name e.g. "com.atlassian.confluence.pages.Page"
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||