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 class
static enum
-
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getName()
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.int
hashCode()
boolean
The exclude meta flag.void
setExcludeMeta
(boolean excludeMeta) The exclude meta flag.void
The name of the community to search for.void
setNameMatchMode
(MatchMode nameMatchMode) The match mode used to comparename
.void
setParentId
(UUID parentId) The ID of the parent community to find the communities in.void
setSortField
(FindCommunitiesRequest.SortField sortField) The field on which the results are sorted.void
setSortOrder
(SortOrder sortOrder) The sorting order.toString()
Methods inherited from class CursorPagedRequest
getCountLimit, getCursor, getOffset, setCountLimit, setCursor, setOffset
Methods 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 isEXACT
the 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 isEXACT
the 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:
equals
in classCursorPagedRequest
-
canEqual
- Overrides:
canEqual
in classCursorPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCursorPagedRequest
-
toString
- Overrides:
toString
in classCursorPagedRequest
-