Interface IOrder

All Superinterfaces:
Comparator<de.uplanet.lucy.server.newsagent.IMessage>
All Known Implementing Classes:
ApplicationOrder, CreationOrder

@Scriptable public interface IOrder extends Comparator<de.uplanet.lucy.server.newsagent.IMessage>
  • Method Details

    • setAscending

      void setAscending(boolean p_bAscending)
      Set ascending (default) or descending sort order.
      Parameters:
      p_bAscending - true if sorting order is ascending, or false otherwise.
    • sqlOrderExpression

      String sqlOrderExpression()
      Provide a SQL order-by expression to order messages at database level.
      Returns:
      The SQL order-by expression or null if such an expression cannot be provided.