Enum ExplorerField
- java.lang.Object
-
- java.lang.Enum<ExplorerField>
-
- com.jalios.jcmsplugin.explorer.app.ExplorerField
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExplorerField>
public enum ExplorerField extends java.lang.Enum<ExplorerField>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHOR
CADDY
CDATE
CONTENT_TYPE
COUNTER
DIMENSIONS
DOWNLOAD
DOWNLOAD_COUNT
DOWNLOAD_COUNT_AND_ACTION
DURATION
EDATE
EDIT
ID
IDXDATE
MAIN_LANGUAGE
MDATE
OP_AUTHOR
PDATE
POPULARITY
READER
RECOMMEND
RIGHTS
SDATE
SIZE
STATUS
TITLE
TYPE
UDATE
UPLOAD_DATE
VERSION
VOTE_SCORE
WORKSPACE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getComparatorClass()
java.lang.String
getComparatorName()
ExplorerFieldFormat
getFormat()
static java.util.Optional<ExplorerField>
getIfPresent(java.lang.String name)
java.lang.String
getLabel(java.lang.String userLang)
java.lang.String
getLangProp()
java.lang.String
getName()
java.lang.String
getTableColumnCss()
boolean
isSortable()
static ExplorerField
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExplorerField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EDIT
public static final ExplorerField EDIT
-
COUNTER
public static final ExplorerField COUNTER
-
CADDY
public static final ExplorerField CADDY
-
STATUS
public static final ExplorerField STATUS
-
TITLE
public static final ExplorerField TITLE
-
ID
public static final ExplorerField ID
-
RIGHTS
public static final ExplorerField RIGHTS
-
TYPE
public static final ExplorerField TYPE
-
CONTENT_TYPE
public static final ExplorerField CONTENT_TYPE
-
MAIN_LANGUAGE
public static final ExplorerField MAIN_LANGUAGE
-
AUTHOR
public static final ExplorerField AUTHOR
-
OP_AUTHOR
public static final ExplorerField OP_AUTHOR
-
CDATE
public static final ExplorerField CDATE
-
MDATE
public static final ExplorerField MDATE
-
UDATE
public static final ExplorerField UDATE
-
PDATE
public static final ExplorerField PDATE
-
EDATE
public static final ExplorerField EDATE
-
SDATE
public static final ExplorerField SDATE
-
IDXDATE
public static final ExplorerField IDXDATE
-
UPLOAD_DATE
public static final ExplorerField UPLOAD_DATE
-
DOWNLOAD_COUNT_AND_ACTION
public static final ExplorerField DOWNLOAD_COUNT_AND_ACTION
-
DOWNLOAD_COUNT
public static final ExplorerField DOWNLOAD_COUNT
-
DOWNLOAD
public static final ExplorerField DOWNLOAD
-
RECOMMEND
public static final ExplorerField RECOMMEND
-
VERSION
public static final ExplorerField VERSION
-
VOTE_SCORE
public static final ExplorerField VOTE_SCORE
-
READER
public static final ExplorerField READER
-
SIZE
public static final ExplorerField SIZE
-
DURATION
public static final ExplorerField DURATION
-
POPULARITY
public static final ExplorerField POPULARITY
-
DIMENSIONS
public static final ExplorerField DIMENSIONS
-
WORKSPACE
public static final ExplorerField WORKSPACE
-
-
Method Detail
-
values
public static ExplorerField[] 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 (ExplorerField c : ExplorerField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExplorerField 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
-
getName
public java.lang.String getName()
-
getComparatorName
public java.lang.String getComparatorName()
-
getLangProp
public java.lang.String getLangProp()
-
getLabel
public java.lang.String getLabel(java.lang.String userLang)
-
isSortable
public boolean isSortable()
-
getComparatorClass
public java.lang.Class getComparatorClass()
-
getFormat
public ExplorerFieldFormat getFormat()
-
getIfPresent
public static java.util.Optional<ExplorerField> getIfPresent(java.lang.String name)
-
getTableColumnCss
public java.lang.String getTableColumnCss()
-
-