Class FindAssetsRequest
Object
PagedRequest
CursorPagedRequest
FindAssetsRequest
- All Implemented Interfaces:
Serializable
The search criteria for assets.
Only parameters that are specified in this request and have not null
values are used for filtering.
All other parameters are ignored.
The returned assets satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 assets 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 TypeMethodDescriptionstatic FindAssetsRequest.Builder
builder()
protected boolean
boolean
The ID of the community to find the assets in.The ID of the domain to find the assets in.getName()
The name of the asset to search for (either display name or full name).The match mode used to comparename
.The field on which the results are sorted.The sorting order.Deprecated.use statusIds insteadThe list of IDs of the statuses.The list of names of tags.Deprecated.typeId has been deprecated, please use typeIds instead.The list of IDs of the asset types.The list of IDs of the asset types.int
hashCode()
boolean
The exclude meta flag.boolean
Whether the type inheritance for the asset type filtering should be applied or not.void
setCommunityId
(UUID communityId) The ID of the community to find the assets in.void
setDomainId
(UUID domainId) The ID of the domain to find the assets in.void
setExcludeMeta
(boolean excludeMeta) The exclude meta flag.void
The name of the asset to search for (either display name or full name).void
setNameMatchMode
(MatchMode nameMatchMode) The match mode used to comparename
.void
setSortField
(FindAssetsRequest.SortField sortField) The field on which the results are sorted.void
setSortOrder
(SortOrder sortOrder) The sorting order.void
setStatusId
(List<UUID> statusId) Deprecated.use statusIds insteadvoid
setStatusIds
(List<UUID> statusIds) The list of IDs of the statuses.void
setTagNames
(List<String> tagNames) The list of names of tags.void
Deprecated.typeId has been deprecated, please use typeIds instead.void
setTypeIds
(List<UUID> typeIds) The list of IDs of the asset types.void
setTypeInheritance
(boolean typeInheritance) Whether the type inheritance for the asset type filtering should be applied or not.void
setTypePublicIds
(List<String> typePublicIds) The list of IDs of the asset types.toString()
Methods inherited from class CursorPagedRequest
getCountLimit, getCursor, getOffset, setCountLimit, setCursor, setOffset
Methods inherited from class PagedRequest
getLimit, isPagingActive, setLimit
-
Constructor Details
-
Method Details
-
builder
-
getName
The name of the asset to search for (either display name or full name). -
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
. -
getDomainId
The ID of the domain to find the assets in. -
getCommunityId
The ID of the community to find the assets in. -
getTypeIds
The list of IDs of the asset types. The returned assets are of one of types specified by this parameter. -
getTypePublicIds
The list of IDs of the asset types. The returned assets are of one of types specified by this parameter. -
getTypeId
Deprecated.typeId has been deprecated, please use typeIds instead.The list of IDs of the asset types. The returned assets are of one of types specified by this parameter. -
getStatusIds
The list of IDs of the statuses. The returned assets have one of statuses specified by this parameter. -
getStatusId
Deprecated.use statusIds insteadThe list of IDs of the statuses. The returned assets have one of statuses specified by this parameter. -
getTagNames
The list of names of tags. The returned assets have one of tags with names specified by this parameter. -
isTypeInheritance
public boolean isTypeInheritance()Whether the type inheritance for the asset type filtering should be applied or not. Defaults totrue
. -
isExcludeMeta
public boolean isExcludeMeta()The exclude meta flag. If this is set to true then the assets from meta domains will not be returned (meta domains are the domains which were not created by the user manually). 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 asset to search for (either display name or full name). -
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
. -
setDomainId
The ID of the domain to find the assets in. -
setCommunityId
The ID of the community to find the assets in. -
setTypeIds
The list of IDs of the asset types. The returned assets are of one of types specified by this parameter. -
setTypePublicIds
The list of IDs of the asset types. The returned assets are of one of types specified by this parameter. -
setTypeId
Deprecated.typeId has been deprecated, please use typeIds instead.The list of IDs of the asset types. The returned assets are of one of types specified by this parameter. -
setStatusIds
The list of IDs of the statuses. The returned assets have one of statuses specified by this parameter. -
setStatusId
Deprecated.use statusIds insteadThe list of IDs of the statuses. The returned assets have one of statuses specified by this parameter. -
setTagNames
The list of names of tags. The returned assets have one of tags with names specified by this parameter. -
setTypeInheritance
public void setTypeInheritance(boolean typeInheritance) Whether the type inheritance for the asset type filtering should be applied or not. Defaults totrue
. -
setExcludeMeta
public void setExcludeMeta(boolean excludeMeta) The exclude meta flag. If this is set to true then the assets from meta domains will not be returned (meta domains are the domains which were not created by the user manually). 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
-