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:
java.io.Serializable,java.lang.Comparable<PortalGroup.SortField>
- Enclosing class:
- PortalGroup
public static enum PortalGroup.SortField extends java.lang.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_RATINGThe average rating of the item.CREATEDThe date the item was created.MODIFIEDThe date the item was last modified.OWNERThe owner of the item.TITLEThe title of the item.UNKNOWNSort field is unknown.VIEW_COUNTThe number of views of the item.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()Returns a string representing the sort field.static PortalGroup.SortFieldvalueOf(java.lang.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 TITLEThe title of the item.- Since:
- 100.0.0
-
OWNER
@SerializedName("owner") public static final PortalGroup.SortField OWNERThe owner of the item.- Since:
- 100.0.0
-
CREATED
@SerializedName("created") public static final PortalGroup.SortField CREATEDThe date the item was created.- Since:
- 100.0.0
-
MODIFIED
@SerializedName("modified") public static final PortalGroup.SortField MODIFIEDThe date the item was last modified.- Since:
- 100.0.0
-
AVERAGE_RATING
@SerializedName("avgRating") public static final PortalGroup.SortField AVERAGE_RATINGThe average rating of the item.- Since:
- 100.0.0
-
VIEW_COUNT
@SerializedName("numViews") public static final PortalGroup.SortField VIEW_COUNTThe number of views of the item.- Since:
- 100.0.0
-
UNKNOWN
@SerializedName("unknown") public static final PortalGroup.SortField UNKNOWNSort 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(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
-
toString
public java.lang.String toString()
Returns a string representing the sort field.- Overrides:
toStringin classjava.lang.Enum<PortalGroup.SortField>- Returns:
- a string representing the sort field
- Since:
- 100.0.0
-
-