Klasse ApplicationOrder

java.lang.Object
de.uplanet.lucy.server.newsagent.ApplicationOrder
Alle implementierten Schnittstellen:
IOrder, Comparator<de.uplanet.lucy.server.newsagent.IMessage>

@Scriptable public final class ApplicationOrder extends Object implements IOrder
Order messages by application GUID and creation time.
  • Konstruktordetails

    • ApplicationOrder

      public ApplicationOrder()
      Construct a ApplicationOrder. for ascending order.
  • Methodendetails

    • setAscending

      public void setAscending(boolean p_bAscending)
      Beschreibung aus Schnittstelle kopiert: IOrder
      Set ascending (default) or descending sort order.
      Angegeben von:
      setAscending in Schnittstelle IOrder
      Parameter:
      p_bAscending - true if sorting order is ascending, or false otherwise.
    • setCreationTimeAscending

      public void setCreationTimeAscending(boolean p_bAscending)
      Set ascending or descending (default) sort order for the creation time.
    • compare

      public int compare(de.uplanet.lucy.server.newsagent.IMessage p_msg1, de.uplanet.lucy.server.newsagent.IMessage p_msg2)
      Compare two messages using their application GUID and their creation time.
      Angegeben von:
      compare in Schnittstelle Comparator<de.uplanet.lucy.server.newsagent.IMessage>
      Siehe auch:
    • sqlOrderExpression

      public String sqlOrderExpression()
      The creation order SQL-expression.
      Angegeben von:
      sqlOrderExpression in Schnittstelle IOrder
      Gibt zurück:
      The creation order SQL-expression.