Enum FavouritesService.SortFields
- java.lang.Object
-
- java.lang.Enum<FavouritesService.SortFields>
-
- org.alfresco.service.cmr.favourites.FavouritesService.SortFields
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FavouritesService.SortFields>
- Enclosing interface:
- FavouritesService
public static enum FavouritesService.SortFields extends java.lang.Enum<FavouritesService.SortFields>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FavouritesService.SortFieldsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FavouritesService.SortFields[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
username
public static final FavouritesService.SortFields username
-
type
public static final FavouritesService.SortFields type
-
createdAt
public static final FavouritesService.SortFields createdAt
-
title
public static final FavouritesService.SortFields title
-
-
Method Detail
-
values
public static FavouritesService.SortFields[] 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 (FavouritesService.SortFields c : FavouritesService.SortFields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FavouritesService.SortFields valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-