Class FindDomainsRequest
Object
PagedRequest
CursorPagedRequest
FindDomainsRequest
- All Implemented Interfaces:
Serializable
The search criteria for domains.
Only parameters that are specified in this request and have not null values are used for filtering.
All other parameters are ignored.
The returned domains satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 domains is returned.
Domain type filtering: Both typeId (single type) and typeIds (multiple types)
can be used to filter by domain type. When both are provided, typeIds takes precedence and
typeId is ignored.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FindDomainsRequest.Builderbuilder()protected booleanbooleanThe ID of the community to find the domains in.getName()The name of the domain to search for.The match mode used to comparename.The ID of the domain type to search for.The IDs of the domain types to search for.The public ID of the domain type to search for.inthashCode()booleanThe exclude meta flag.booleanwhether to include sub-communities.voidsetCommunityId(UUID communityId) The ID of the community to find the domains in.voidsetExcludeMeta(boolean excludeMeta) The exclude meta flag.voidsetIncludeSubCommunities(boolean includeSubCommunities) whether to include sub-communities.voidThe name of the domain to search for.voidsetNameMatchMode(MatchMode nameMatchMode) The match mode used to comparename.voidThe ID of the domain type to search for.voidsetTypeIds(List<UUID> typeIds) The IDs of the domain types to search for.voidsetTypePublicId(String typePublicId) The public ID of the domain type to search for.toString()Methods inherited from class CursorPagedRequest
getCountLimit, getCursor, getOffset, setCountLimit, setCursor, setOffsetMethods inherited from class PagedRequest
getLimit, isPagingActive, setLimit
-
Constructor Details
-
FindDomainsRequest
public FindDomainsRequest()
-
-
Method Details
-
builder
-
getName
The name of the domain 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. -
isExcludeMeta
public boolean isExcludeMeta()The exclude meta flag. If this is set to true then the meta domains will not be returned (meta domains are i.e. domains not created manually by the user). Defaults totrue. -
getCommunityId
The ID of the community to find the domains in. -
getTypeId
The ID of the domain type to search for. Returned domains are of this type. Ignored iftypeIdsis also provided. -
getTypeIds
The IDs of the domain types to search for. Returned domains are of these types. When provided,typeIdis ignored. -
getTypePublicId
The public ID of the domain type to search for. Returned domains are of this type. -
isIncludeSubCommunities
public boolean isIncludeSubCommunities()whether to include sub-communities. Whentrue, direct sub-communities of the community referenced by thecommunityIdparameter are also included in the search. Sub-communities of those sub-communities are not included. -
setName
The name of the domain 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. -
setExcludeMeta
public void setExcludeMeta(boolean excludeMeta) The exclude meta flag. If this is set to true then the meta domains will not be returned (meta domains are i.e. domains not created manually by the user). Defaults totrue. -
setCommunityId
The ID of the community to find the domains in. -
setTypeId
The ID of the domain type to search for. Returned domains are of this type. Ignored iftypeIdsis also provided. -
setTypeIds
The IDs of the domain types to search for. Returned domains are of these types. When provided,typeIdis ignored. -
setTypePublicId
The public ID of the domain type to search for. Returned domains are of this type. -
setIncludeSubCommunities
public void setIncludeSubCommunities(boolean includeSubCommunities) whether to include sub-communities. Whentrue, direct sub-communities of the community referenced by thecommunityIdparameter are also included in the search. Sub-communities of those sub-communities are not included. -
equals
- Overrides:
equalsin classCursorPagedRequest
-
canEqual
- Overrides:
canEqualin classCursorPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classCursorPagedRequest
-
toString
- Overrides:
toStringin classCursorPagedRequest
-