|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.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
|
|
MAIL
|
|
PAGE
|
|
PERSONAL_INFORMATION
|
|
PERSONAL_SPACE_DESCRIPTION
|
|
SPACE_DESCRIPTION
|
|
USER_STATUS
|
Method Summary | |
---|---|
static ContentTypeEnum |
get(java.lang.String representation)
Deprecated. since 3.0. Use getByRepresentation(java.lang.String) or getByClassName(java.lang.String) instead. |
static ContentTypeEnum |
getByClassName(java.lang.String className)
|
static ContentTypeEnum |
getByRepresentation(java.lang.String representation)
|
java.lang.String |
getRepresentation()
|
java.lang.Class<? extends com.atlassian.core.bean.EntityObject> |
getType()
|
java.lang.String |
getTypeClass()
Deprecated. since 3.1 use getTypeName() |
java.lang.String |
getTypeName()
|
java.lang.String |
toString()
|
static ContentTypeEnum |
valueOf(java.lang.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
Method Detail |
---|
public static ContentTypeEnum[] values()
for (ContentTypeEnum c : ContentTypeEnum.values()) System.out.println(c);
public static ContentTypeEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getRepresentation()
public java.lang.String getTypeClass()
getTypeName()
public java.lang.Class<? extends com.atlassian.core.bean.EntityObject> getType()
public java.lang.String getTypeName()
public java.lang.String toString()
toString
in class java.lang.Enum<ContentTypeEnum>
@Deprecated public static ContentTypeEnum get(java.lang.String representation)
getByRepresentation(java.lang.String)
or getByClassName(java.lang.String)
instead.
public static ContentTypeEnum getByRepresentation(java.lang.String representation)
representation
- the String representation of the enum. e.g. Page.CONTENT_TYPE
public static ContentTypeEnum getByClassName(java.lang.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 |