Package com.esri.arcgisruntime.portal
Enum PortalGroup.SortField
- java.lang.Object
-
- java.lang.Enum<PortalGroup.SortField>
-
- com.esri.arcgisruntime.portal.PortalGroup.SortField
-
- All Implemented Interfaces:
Serializable
,Comparable<PortalGroup.SortField>
- Enclosing class:
- PortalGroup
public static enum PortalGroup.SortField extends Enum<PortalGroup.SortField>
Signifies the field that items in a portal group are sorted by.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVERAGE_RATING
The average rating of the item.CREATED
The date the item was created.MODIFIED
The date the item was last modified.OWNER
The owner of the item.TITLE
The title of the item.UNKNOWN
Sort field is unknown.VIEW_COUNT
The number of views of the item.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Returns a string representing the sort field.static PortalGroup.SortField
valueOf(String name)
Returns the enum constant of this type with the specified name.static PortalGroup.SortField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TITLE
@SerializedName("title") public static final PortalGroup.SortField TITLE
The title of the item.- Since:
- 100.0.0
-
OWNER
@SerializedName("owner") public static final PortalGroup.SortField OWNER
The owner of the item.- Since:
- 100.0.0
-
CREATED
@SerializedName("created") public static final PortalGroup.SortField CREATED
The date the item was created.- Since:
- 100.0.0
-
MODIFIED
@SerializedName("modified") public static final PortalGroup.SortField MODIFIED
The date the item was last modified.- Since:
- 100.0.0
-
AVERAGE_RATING
@SerializedName("avgRating") public static final PortalGroup.SortField AVERAGE_RATING
The average rating of the item.- Since:
- 100.0.0
-
VIEW_COUNT
@SerializedName("numViews") public static final PortalGroup.SortField VIEW_COUNT
The number of views of the item.- Since:
- 100.0.0
-
UNKNOWN
@SerializedName("unknown") public static final PortalGroup.SortField UNKNOWN
Sort field is unknown.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static PortalGroup.SortField[] 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 (PortalGroup.SortField c : PortalGroup.SortField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PortalGroup.SortField 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
-
toString
public String 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
-
-