Class LegacySortParameterBean

java.lang.Object
com.gentics.contentnode.rest.resource.parameter.LegacySortParameterBean

public class LegacySortParameterBean extends Object
Parameter bean for sorting of legacy list endpoints.
  • Field Details

    • sortBy

      @QueryParam("sortby") @DefaultValue("name") public String sortBy
      (optional) attribute to sort by. It is possible to sort by name, cdate, edate, pdate, filename, template, folder, masterNode, priority, excluded, deletedat. defaults to name
    • sortOrder

      @QueryParam("sortorder") @DefaultValue("asc") public String sortOrder
      (optional) result sort order - may be "asc" for ascending or "desc" for descending other strings will be ignored. defaults to "asc".
  • Constructor Details

    • LegacySortParameterBean

      public LegacySortParameterBean()
  • Method Details