Enum PortalGroup.SortField

    • 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 name
        NullPointerException - if the argument is null
      • toString

        public String toString()
        Returns a string representing the sort field.
        Overrides:
        toString in class Enum<PortalGroup.SortField>
        Returns:
        a string representing the sort field
        Since:
        100.0.0