Package de.uplanet.lucy.server.newsagent
Klasse ApplicationOrder
java.lang.Object
de.uplanet.lucy.server.newsagent.ApplicationOrder
- Alle implementierten Schnittstellen:
IOrder,Comparator<de.uplanet.lucy.server.newsagent.IMessage>
Order messages by application GUID and creation time.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintcompare(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.voidsetAscending(boolean p_bAscending) Set ascending (default) or descending sort order.voidsetCreationTimeAscending(boolean p_bAscending) Set ascending or descending (default) sort order for the creation time.The creation order SQL-expression.Von Klasse geerbte Methoden java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Konstruktordetails
-
ApplicationOrder
public ApplicationOrder()Construct aApplicationOrder.for ascending order.
-
-
Methodendetails
-
setAscending
public void setAscending(boolean p_bAscending) Beschreibung aus Schnittstelle kopiert:IOrderSet ascending (default) or descending sort order.- Angegeben von:
setAscendingin SchnittstelleIOrder- Parameter:
p_bAscending-trueif sorting order is ascending, orfalseotherwise.
-
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:
comparein SchnittstelleComparator<de.uplanet.lucy.server.newsagent.IMessage>- Siehe auch:
-
sqlOrderExpression
The creation order SQL-expression.- Angegeben von:
sqlOrderExpressionin SchnittstelleIOrder- Gibt zurück:
- The creation order SQL-expression.
-