Enum ContentNodeItem.ItemType
- java.lang.Object
-
- java.lang.Enum<ContentNodeItem.ItemType>
-
- com.gentics.contentnode.rest.model.ContentNodeItem.ItemType
-
- All Implemented Interfaces:
Serializable
,Comparable<ContentNodeItem.ItemType>
- Enclosing class:
- ContentNodeItem
public static enum ContentNodeItem.ItemType extends Enum<ContentNodeItem.ItemType>
Types of items to be fetched with method- Author:
- norbert
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContentNodeItem.ItemType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContentNodeItem.ItemType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
page
public static final ContentNodeItem.ItemType page
-
file
public static final ContentNodeItem.ItemType file
-
image
public static final ContentNodeItem.ItemType image
-
folder
public static final ContentNodeItem.ItemType folder
-
channel
public static final ContentNodeItem.ItemType channel
-
node
public static final ContentNodeItem.ItemType node
-
form
public static final ContentNodeItem.ItemType form
-
-
Method Detail
-
values
public static ContentNodeItem.ItemType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContentNodeItem.ItemType c : ContentNodeItem.ItemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentNodeItem.ItemType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-