Class FindAttributesRequest

  • All Implemented Interfaces:
    Serializable

    public class FindAttributesRequest
    extends CursorPagedRequest
    The search criteria for attributes.

    Only parameters that are specified in this request and have not null values are used for filtering. All other parameters are ignored.

    The returned attributes satisfy all constraints that are specified in this search criteria.

    By default a result containing 1000 attributes is returned.

    See Also:
    Serialized Form
    • Constructor Detail

      • FindAttributesRequest

        public FindAttributesRequest()
    • Method Detail

      • getTypeIds

        public List<UUID> getTypeIds()
        The list of IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied.
      • getAssetId

        public UUID getAssetId()
        The ID of the asset to find the attributes in, or null if no asset filtering should be applied.
      • getSortOrder

        public SortOrder getSortOrder()
        The sorting order. Defaults to DESC. (descending)
      • getSortField

        @NotNull
        public @NotNull FindAttributesRequest.SortField getSortField()
        The field on which the results are sorted. Defaults to LAST_MODIFIED.
      • setTypeIds

        public void setTypeIds​(List<UUID> typeIds)
        The list of IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied.
      • setAssetId

        public void setAssetId​(UUID assetId)
        The ID of the asset to find the attributes in, or null if no asset filtering should be applied.
      • setSortOrder

        public void setSortOrder​(SortOrder sortOrder)
        The sorting order. Defaults to DESC. (descending)
      • setSortField

        public void setSortField​(@NotNull
                                 @NotNull FindAttributesRequest.SortField sortField)
        The field on which the results are sorted. Defaults to LAST_MODIFIED.