|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.webcenter.notification.SortOption
public class SortOption
Defines the sort attributes for fetching subscriptions. Instance of this class can be used in SubscriptionManager
methods to query a user's subscriptions.
SubscriptionManager
Nested Class Summary | |
---|---|
static class |
SortOption.SortBy Enum that defines the supported fields for sorting. |
Constructor Summary | |
---|---|
SortOption() Constructor to create an instance of this class. |
Method Summary | |
---|---|
SortOption.SortBy |
getField() Returns the sort field of this object. |
boolean |
isAscending() Returns whether the sort order is ascending or descending. |
void |
setAscending(boolean mAscending) Sets the sorting order for this object to be used with the sort by field. |
void |
setField(SortOption.SortBy sortBy) Sets the sort field of this object to one of the supported field as defined by SortBy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortOption()
Method Detail |
---|
public void setField(SortOption.SortBy sortBy)
SortBy
-
- the sort by field to be set for this object.public SortOption.SortBy getField()
public void setAscending(boolean mAscending)
-
- whether the order of sort field in setField
is ascending or descending. If true, ascending, otherwise descending.public boolean isAscending()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |