Class FindCommunitiesRequest
Object
PagedRequest
CursorPagedRequest
FindCommunitiesRequest
- All Implemented Interfaces:
Serializable
The search criteria for communities.
Only parameters that are specified in this request and have not null values are used for filtering.
All other parameters are ignored.
The returned communities satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 communities is returned.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetName()The name of the community to search for.The match mode used to comparename.The ID of the parent community to find the communities in.The field on which the results are sorted.The sorting order.inthashCode()booleanThe exclude meta flag.voidsetExcludeMeta(boolean excludeMeta) The exclude meta flag.voidThe name of the community to search for.voidsetNameMatchMode(MatchMode nameMatchMode) The match mode used to comparename.voidsetParentId(UUID parentId) The ID of the parent community to find the communities in.voidsetSortField(FindCommunitiesRequest.SortField sortField) The field on which the results are sorted.voidsetSortOrder(SortOrder sortOrder) The sorting order.toString()Methods inherited from class CursorPagedRequest
getCountLimit, getCursor, getOffset, setCountLimit, setCursor, setOffsetMethods inherited from class PagedRequest
getLimit, isPagingActive, setLimit
-
Constructor Details
-
FindCommunitiesRequest
public FindCommunitiesRequest()
-
-
Method Details
-
builder
-
getName
The name of the community to search for. -
getNameMatchMode
The match mode used to comparename. If the match mode isEXACTthe search is case-sensitive, otherwise the search is case-insensitive. Defaults toANYWHERE. -
getParentId
The ID of the parent community to find the communities in. -
isExcludeMeta
public boolean isExcludeMeta()The exclude meta flag. If this is set to true then the meta communities will not be returned (meta communities are i.e. communities not created manually by the user). Defaults totrue. -
getSortField
The field on which the results are sorted. Defaults toNAME. -
getSortOrder
The sorting order. Defaults toASC(ascending). -
setName
The name of the community to search for. -
setNameMatchMode
The match mode used to comparename. If the match mode isEXACTthe search is case-sensitive, otherwise the search is case-insensitive. Defaults toANYWHERE. -
setParentId
The ID of the parent community to find the communities in. -
setExcludeMeta
public void setExcludeMeta(boolean excludeMeta) The exclude meta flag. If this is set to true then the meta communities will not be returned (meta communities are i.e. communities not created manually by the user). Defaults totrue. -
setSortField
The field on which the results are sorted. Defaults toNAME. -
setSortOrder
The sorting order. Defaults toASC(ascending). -
equals
- Overrides:
equalsin classCursorPagedRequest
-
canEqual
- Overrides:
canEqualin classCursorPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classCursorPagedRequest
-
toString
- Overrides:
toStringin classCursorPagedRequest
-