|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.social.opensocial.spi.CollectionOptions
public class CollectionOptions
Data structure representing many of the RPC/REST requests we receive.
| Constructor Summary | |
|---|---|
CollectionOptions()
|
|
CollectionOptions(RequestItem request)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getFilter()
This filter can be any field of the object being filtered or the special js filters, hasApp or topFriends. |
FilterOperation |
getFilterOperation()
|
String |
getFilterValue()
Where a field filter has been specified (ie a non special filter) then this is the value of the filter. |
int |
getFirst()
When paginating, the index of the first item to fetch. |
int |
getMax()
The maximum number of items to fetch; defaults to 20. |
String |
getSortBy()
This sortBy can be any field of the object being sorted or the special js sort of topFriends. |
SortOrder |
getSortOrder()
|
Date |
getUpdatedSince()
|
int |
hashCode()
|
void |
setFilter(String filter)
|
void |
setFilterOperation(FilterOperation filterOperation)
|
void |
setFilterValue(String filterValue)
|
void |
setFirst(int first)
|
void |
setMax(int max)
|
void |
setSortBy(String sortBy)
|
void |
setSortOrder(SortOrder sortOrder)
|
void |
setUpdatedSince(Date updatedSince)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionOptions()
public CollectionOptions(RequestItem request)
| Method Detail |
|---|
public String getSortBy()
public void setSortBy(String sortBy)
public SortOrder getSortOrder()
public void setSortOrder(SortOrder sortOrder)
public String getFilter()
This filter can be any field of the object being filtered or the special js filters, hasApp or topFriends. Other special Filters are
public void setFilter(String filter)
public FilterOperation getFilterOperation()
public void setFilterOperation(FilterOperation filterOperation)
public String getFilterValue()
public void setFilterValue(String filterValue)
public int getFirst()
public void setFirst(int first)
public int getMax()
public void setMax(int max)
public Date getUpdatedSince()
public void setUpdatedSince(Date updatedSince)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||