nl.gx.webmanager.cms.mediarepository
Enum MediaItemSortOptions.SortBy

java.lang.Object
  extended by java.lang.Enum<MediaItemSortOptions.SortBy>
      extended by nl.gx.webmanager.cms.mediarepository.MediaItemSortOptions.SortBy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MediaItemSortOptions.SortBy>
Enclosing interface:
MediaItemSortOptions

public static enum MediaItemSortOptions.SortBy
extends java.lang.Enum<MediaItemSortOptions.SortBy>

Sort options.


Enum Constant Summary
CREATION_DATE
           
LAST_POST
           
MODIFICATION_DATE
           
MOST_REACTIONS
           
MOST_VIEWED
           
PUBLICATION_DATE
           
VOTE_AVERAGE
           
WEBTITLE
           
 
Method Summary
static MediaItemSortOptions.SortBy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MediaItemSortOptions.SortBy[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATION_DATE

public static final MediaItemSortOptions.SortBy CREATION_DATE

MOST_VIEWED

public static final MediaItemSortOptions.SortBy MOST_VIEWED

MOST_REACTIONS

public static final MediaItemSortOptions.SortBy MOST_REACTIONS

PUBLICATION_DATE

public static final MediaItemSortOptions.SortBy PUBLICATION_DATE

VOTE_AVERAGE

public static final MediaItemSortOptions.SortBy VOTE_AVERAGE

WEBTITLE

public static final MediaItemSortOptions.SortBy WEBTITLE

LAST_POST

public static final MediaItemSortOptions.SortBy LAST_POST

MODIFICATION_DATE

public static final MediaItemSortOptions.SortBy MODIFICATION_DATE
Method Detail

values

public static MediaItemSortOptions.SortBy[] 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 (MediaItemSortOptions.SortBy c : MediaItemSortOptions.SortBy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MediaItemSortOptions.SortBy 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 name
java.lang.NullPointerException - if the argument is null


Copyright © 2007-2011 GX Software BV. All Rights Reserved.