Class SortDef

java.lang.Object
org.alfresco.rest.api.search.model.SortDef

public class SortDef extends Object
This is a copy of the SortDefinition class found in data-model. Due to the use of a very old version of Jackson it is necessary to duplicate this class rather than reuse it.
Author:
Gethin James
  • Constructor Details

    • SortDef

      public SortDef(String type, String field, boolean ascending)
  • Method Details

    • getType

      public String getType()
    • getField

      public String getField()
    • isAscending

      public boolean isAscending()