public class CollectionContext extends Object implements NameValuePairCollection
Modifier and Type | Field and Description |
---|---|
Boolean |
_includeEmpty
Limit results to include or not include empty Collections
|
Boolean |
_includeUsers
Limit results to include or not include Users that are being followed (as pseudo collection items)
|
Boolean |
_notificationCountInSort
Sorts results so that collections with notifications show up first
|
List<Collection.UserCollectionType> |
_userCollectionTypes
Limit results to include or not include these User_CollectionTypes (e.g.
|
Constructor and Description |
---|
CollectionContext() |
CollectionContext(SearchContext searchFilters) |
CollectionContext(SearchContext searchFilters,
Boolean includeEmpty,
Boolean includeUsers) |
CollectionContext(SearchContext searchFilters,
Boolean includeEmpty,
Boolean includeUsers,
Collection.UserCollectionType... userCollectionTypes) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getIncludeEmpty() |
Boolean |
getIncludeUsers() |
Boolean |
getNotificationCountInSort() |
SearchContext |
getSearchFilters() |
List<Collection.UserCollectionType> |
getUserCollectionTypes() |
void |
setIncludeEmpty(Boolean includeEmpty) |
void |
setIncludeUsers(Boolean includeUsers) |
void |
setNotificationCountInSort(Boolean notificationCountInSort) |
void |
setSearchFilters(SearchContext searchFilters) |
void |
setUserCollectionTypes(List<Collection.UserCollectionType> userCollectionTypes) |
List<org.apache.http.NameValuePair> |
toNameValuePairs() |
public Boolean _includeEmpty
public Boolean _includeUsers
public Boolean _notificationCountInSort
public List<Collection.UserCollectionType> _userCollectionTypes
public CollectionContext()
public CollectionContext(SearchContext searchFilters)
public CollectionContext(SearchContext searchFilters, Boolean includeEmpty, Boolean includeUsers)
public CollectionContext(SearchContext searchFilters, Boolean includeEmpty, Boolean includeUsers, Collection.UserCollectionType... userCollectionTypes)
public SearchContext getSearchFilters()
public void setSearchFilters(SearchContext searchFilters)
public Boolean getIncludeEmpty()
public void setIncludeEmpty(Boolean includeEmpty)
public Boolean getIncludeUsers()
public void setIncludeUsers(Boolean includeUsers)
public Boolean getNotificationCountInSort()
public void setNotificationCountInSort(Boolean notificationCountInSort)
public List<Collection.UserCollectionType> getUserCollectionTypes()
public void setUserCollectionTypes(List<Collection.UserCollectionType> userCollectionTypes)
public List<org.apache.http.NameValuePair> toNameValuePairs()
toNameValuePairs
in interface NameValuePairCollection
Copyright © 2014 Equilibrium. All rights reserved.