com.plumtree.remote.prc.collaboration.discussion
Class DiscussionMessageQueryOrder

java.lang.Object
  extended bycom.plumtree.remote.prc.collaboration.query.QueryOrder
      extended bycom.plumtree.remote.prc.collaboration.discussion.DiscussionMessageQueryOrder

public class DiscussionMessageQueryOrder
extends QueryOrder

Represents a pair that consists of a DiscussionMessageAttribute and a boolean indicating whether to order ascending. This class is used in IFilter.


Constructor Summary
DiscussionMessageQueryOrder(DiscussionMessageAttribute attribute, boolean ascending)
          Constructor for DiscussionMessageQueryOrder.
 
Method Summary
 DiscussionMessageAttribute getAttribute()
          Returns the query orderBy attribute.
 boolean isAscending()
          Returns a boolean indicating whether or not the order is ascending.
 void setAscending(boolean isAscending)
          Sets the order for this field (ascending or descending).
 void setAttribute(DiscussionMessageAttribute attribute)
          Sets the query orderBy attribute.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscussionMessageQueryOrder

public DiscussionMessageQueryOrder(DiscussionMessageAttribute attribute,
                                   boolean ascending)
Constructor for DiscussionMessageQueryOrder.

Parameters:
attribute - the query orderBy field
ascending - boolean indicating whether the order is ascending
Method Detail

setAttribute

public void setAttribute(DiscussionMessageAttribute attribute)
Sets the query orderBy attribute.

Parameters:
attribute - the query orderBy attribute

getAttribute

public DiscussionMessageAttribute getAttribute()
Returns the query orderBy attribute.

Returns:
the query orderBy attribute

setAscending

public void setAscending(boolean isAscending)
Sets the order for this field (ascending or descending).

Overrides:
setAscending in class QueryOrder

isAscending

public boolean isAscending()
Returns a boolean indicating whether or not the order is ascending.

Overrides:
isAscending in class QueryOrder


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.