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 SummaryEnum 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns a string representing the sort field.static PortalGroup.SortFieldvalueOf(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- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
toStringpublic String toString() Returns a string representing the sort field.- Overrides:
- toStringin class- Enum<PortalGroup.SortField>
- Returns:
- a string representing the sort field
- Since:
- 100.0.0
 
 
- 
 
-