Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.portal
Enum Class PortalGroup.SortField
- All Implemented Interfaces:
Serializable
,Comparable<PortalGroup.SortField>
,Constable
- Enclosing class:
PortalGroup
Signifies the field that items in a portal group are sorted by.
- Since:
- 100.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe average rating of the item.The date the item was created.The date the item was last modified.The owner of the item.The title of the item.Sort field is unknown.The number of views of the item. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a string representing the sort field.static PortalGroup.SortField
Returns the enum constant of this class with the specified name.static PortalGroup.SortField[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TITLE
The title of the item.- Since:
- 100.0.0
-
OWNER
The owner of the item.- Since:
- 100.0.0
-
CREATED
The date the item was created.- Since:
- 100.0.0
-
MODIFIED
The date the item was last modified.- Since:
- 100.0.0
-
AVERAGE_RATING
The average rating of the item.- Since:
- 100.0.0
-
VIEW_COUNT
The number of views of the item.- Since:
- 100.0.0
-
UNKNOWN
Sort field is unknown.- Since:
- 100.0.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
Returns a string representing the sort field.- Overrides:
toString
in classEnum<PortalGroup.SortField>
- Returns:
- a string representing the sort field
- Since:
- 100.0.0
-