Enum Overview.OrderBy
- java.lang.Object
-
- java.lang.Enum<Overview.OrderBy>
-
- com.gentics.contentnode.rest.model.Overview.OrderBy
-
- All Implemented Interfaces:
Serializable
,Comparable<Overview.OrderBy>
- Enclosing class:
- Overview
public static enum Overview.OrderBy extends Enum<Overview.OrderBy>
Enumeration for the 'order by' setting
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHABETICALLY
Listed objects are sorted by nameCDATE
Listed objects are sorted by creation dateEDATE
Listed objects are sorted by edit dateFILESIZE
Listed objects are sorted by file size (only if listType is FILE or IMAGE)PDATE
Listed objects are sorted by publish date (only if listType is PAGE)PRIORITY
Listed objects are sorted by priority (only if listType is PAGE)SELF
Listed objects are sorted manuallyUNDEFINED
Overview is not defined
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Overview.OrderBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static Overview.OrderBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALPHABETICALLY
public static final Overview.OrderBy ALPHABETICALLY
Listed objects are sorted by name
-
PRIORITY
public static final Overview.OrderBy PRIORITY
Listed objects are sorted by priority (only if listType is PAGE)
-
PDATE
public static final Overview.OrderBy PDATE
Listed objects are sorted by publish date (only if listType is PAGE)
-
EDATE
public static final Overview.OrderBy EDATE
Listed objects are sorted by edit date
-
CDATE
public static final Overview.OrderBy CDATE
Listed objects are sorted by creation date
-
FILESIZE
public static final Overview.OrderBy FILESIZE
Listed objects are sorted by file size (only if listType is FILE or IMAGE)
-
SELF
public static final Overview.OrderBy SELF
Listed objects are sorted manually
-
UNDEFINED
public static final Overview.OrderBy UNDEFINED
Overview is not defined
-
-
Method Detail
-
values
public static Overview.OrderBy[] 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 (Overview.OrderBy c : Overview.OrderBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Overview.OrderBy 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
-
-