|
Jive API (4.5.7.0) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.ResultFilter
com.jivesoftware.community.ThreadResultFilter
com.jivesoftware.community.TagResultFilter
public class TagResultFilter
Filters and sorts JiveContentObjects based on ContentTags.
| Field Summary |
|---|
| Fields inherited from class com.jivesoftware.community.ResultFilter |
|---|
AND_MODE, ASCENDING, CONTAINS_MATCH, DESCENDING, EXACT_MATCH, NULL_DOUBLE, NULL_INT, OR_MODE |
| Constructor Summary | |
|---|---|
TagResultFilter()
|
|
| Method Summary | |
|---|---|
static TagResultFilter |
createDefaultFilter()
Creates a default TagResultFilter: all tags sorted in descending order with no minimum number of JiveContentObjects. |
boolean |
equals(java.lang.Object o)
|
java.util.Collection<com.jivesoftware.community.socialgroup.SocialGroupType> |
getExcludedGroupTypes()
Returns a list of social group types to be excluded from any generated query. |
int |
getMinimum()
Returns the minimum number of JiveContentObjects that a tag must be associated with to be
included in the result set. |
int |
getStartIndex()
Tag result filters are not meant to retrieve results by page - thus setting a position within a logical sequence doesn't fit the use case. |
int |
hashCode()
|
void |
setExcludedGroupTypes(java.util.Collection<com.jivesoftware.community.socialgroup.SocialGroupType> excludedGroupTypes)
Sets a list of social group types to be excluded from any generated query. |
void |
setMinimum(int minimum)
Sets the minimum number of JiveContentObjects that a tag must be associated with to be
included in the result set. |
void |
setStartIndex(int startIndex)
Sets the index of the first result to return. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TagResultFilter()
| Method Detail |
|---|
public static TagResultFilter createDefaultFilter()
JiveContentObjects.NOTE: The resulting TagResultFilter should not be stored by invoking classes; this filter is the default tag filter at the time this method is invoked.
public void setStartIndex(int startIndex)
ResultFilter
setStartIndex in class ResultFilterstartIndex - the index of the first result to return.public int getStartIndex()
getStartIndex in class ResultFilterpublic int getMinimum()
JiveContentObjects that a tag must be associated with to be
included in the result set.
JiveContentObjects that a tag must be associated with to be
included in the result set.public void setMinimum(int minimum)
JiveContentObjects that a tag must be associated with to be
included in the result set.
minimum - the minimum number of JiveContentObjects that a tag must be associated with to be
included in the result set.public java.util.Collection<com.jivesoftware.community.socialgroup.SocialGroupType> getExcludedGroupTypes()
public void setExcludedGroupTypes(java.util.Collection<com.jivesoftware.community.socialgroup.SocialGroupType> excludedGroupTypes)
excludedGroupTypes - a list of group types that will be excluded from any tag querypublic boolean equals(java.lang.Object o)
equals in class ThreadResultFilterpublic int hashCode()
hashCode in class ThreadResultFilter
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||