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 classstatic enum -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FindAssetsRequest.Builderbuilder()protected booleanbooleanThe 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.inthashCode()booleanThe exclude meta flag.booleanWhether the type inheritance for the asset type filtering should be applied or not.voidsetCommunityId(UUID communityId) The ID of the community to find the assets in.voidsetDomainId(UUID domainId) The ID of the domain to find the assets in.voidsetExcludeMeta(boolean excludeMeta) The exclude meta flag.voidThe name of the asset to search for (either display name or full name).voidsetNameMatchMode(MatchMode nameMatchMode) The match mode used to comparename.voidsetSortField(FindAssetsRequest.SortField sortField) The field on which the results are sorted.voidsetSortOrder(SortOrder sortOrder) The sorting order.voidsetStatusId(List<UUID> statusId) Deprecated.use statusIds insteadvoidsetStatusIds(List<UUID> statusIds) The list of IDs of the statuses.voidsetTagNames(List<String> tagNames) The list of names of tags.voidDeprecated.typeId has been deprecated, please use typeIds instead.voidsetTypeIds(List<UUID> typeIds) The list of IDs of the asset types.voidsetTypeInheritance(boolean typeInheritance) Whether the type inheritance for the asset type filtering should be applied or not.voidsetTypePublicIds(List<String> typePublicIds) The list of IDs of the asset types.toString()Methods inherited from class CursorPagedRequest
getCountLimit, getCursor, getOffset, setCountLimit, setCursor, setOffsetMethods inherited from class PagedRequest
getLimit, isPagingActive, setLimit
-
Constructor Details
-
FindAssetsRequest
public FindAssetsRequest()
-
-
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 isEXACTthe 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 isEXACTthe 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:
equalsin classCursorPagedRequest
-
canEqual
- Overrides:
canEqualin classCursorPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classCursorPagedRequest
-
toString
- Overrides:
toStringin classCursorPagedRequest
-