Enum Class SortOrder

java.lang.Object
java.lang.Enum<SortOrder>
com.sas.services.information.search.SortOrder
All Implemented Interfaces:
Serializable, Comparable<SortOrder>, java.lang.constant.Constable

public enum SortOrder extends Enum<SortOrder>
  • Enum Constant Details

    • NAME

      public static final SortOrder NAME
    • TYPE

      public static final SortOrder TYPE
    • DESCRIPTION

      public static final SortOrder DESCRIPTION
    • CREATED_DATE

      public static final SortOrder CREATED_DATE
    • MODIFIED_DATE

      public static final SortOrder MODIFIED_DATE
    • PATH

      public static final SortOrder PATH
  • Field Details

    • SORT_BY_NAME

      public static final String SORT_BY_NAME
    • SORT_BY_TYPE

      public static final String SORT_BY_TYPE
    • SORT_BY_DESC

      public static final String SORT_BY_DESC
    • SORT_BY_CREATEDATE

      public static final String SORT_BY_CREATEDATE
    • SORT_BY_MODIFIEDDATE

      public static final String SORT_BY_MODIFIEDDATE
    • SORT_BY_PATH

      public static final String SORT_BY_PATH
  • Method Details

    • values

      public static SortOrder[] 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

      public static SortOrder valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getStringValue

      public String getStringValue()
    • getDefaultOrder

      public static SortOrder[] getDefaultOrder()
    • isSortingEnabled

      public static boolean isSortingEnabled()
    • setSortingEnabled

      public static void setSortingEnabled(boolean sortingAllowed)
    • getSortOrder

      public static SortOrder getSortOrder(String sortItem)
    • getComparator

      public static Comparator<PublicObjectInterface> getComparator(SortOrder[] order)