|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uplanet.lucy.server.newsagent.ApplicationOrder
@Scriptable public final class ApplicationOrder
Order messages by application GUID and creation time.
Constructor Summary | |
---|---|
ApplicationOrder()
Construct a ApplicationOrder. |
Method Summary | |
---|---|
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. |
void |
setAscending(boolean p_bAscending)
Set ascending (default) or descending sort order. |
void |
setCreationTimeAscending(boolean p_bAscending)
Set ascending or descending (default) sort order for the creation time. |
java.lang.String |
sqlOrderExpression()
The creation order SQL-expression. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public ApplicationOrder()
ApplicationOrder.
for ascending order.
Method Detail |
---|
public void setAscending(boolean p_bAscending)
IOrder
setAscending
in interface IOrder
p_bAscending
- true
if sorting order
is ascending, or false
otherwise.public void setCreationTimeAscending(boolean p_bAscending)
public int compare(de.uplanet.lucy.server.newsagent.IMessage p_msg1, de.uplanet.lucy.server.newsagent.IMessage p_msg2)
compare
in interface java.util.Comparator<de.uplanet.lucy.server.newsagent.IMessage>
Comparator.compare(Object, Object)
public java.lang.String sqlOrderExpression()
sqlOrderExpression
in interface IOrder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |