Package de.xima.fc.proma.request
Class GetStoreItemsRequest.Builder
java.lang.Object
de.xima.fc.proma.request.GetStoreItemsRequest.Builder
- Enclosing class:
- GetStoreItemsRequest
A builder for a
GetStoreItemsRequest
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a new request with the current data.licenseKey
(String licenseKey) Limits the returned items to those that are compatible with the current license.licenseTypes
(Iterable<String> licenseTypes) Limits the returned items to those with the given license types.Sets the locale for localizing names and descriptions etc.Limits the returned items to those that have a matching name.productVersion
(String productVersion) Limits the returned items to those that are compatible with the given product version.Limits the returned items to those that have a matching tag.Limits the returned items to those that have a matching description.
-
Method Details
-
build
Creates a new request with the current data. Subsequent modification to this builder will not affect the built request.- Returns:
- A new store item request with the current data.
-
licenseTypes
Limits the returned items to those with the given license types.- Parameters:
licenseTypes
- License types to which to limit the fetched items.- Returns:
- This builder instance for chaining method calls.
-
locale
Sets the locale for localizing names and descriptions etc. Defaults to English.- Parameters:
locale
- Locale to use.- Returns:
- This builder instance for chaining method calls.
-
names
Limits the returned items to those that have a matching name.- Parameters:
names
- Names to which to limit the fetched items.- Returns:
- This builder instance for chaining method calls.
-
productVersion
Limits the returned items to those that are compatible with the given product version. Defaults to no restriction.- Parameters:
productVersion
- Product version to which to limit the fetched items.- Returns:
- This builder instance for chaining method calls.
-
licenseKey
Limits the returned items to those that are compatible with the current license.- Parameters:
licenseKey
- The license key of the current license. This could be either the system license or a client license.- Returns:
- This builder instance for chaining method calls.
-
tags
Limits the returned items to those that have a matching tag.- Parameters:
tags
- Tags to which to limit the fetched items.- Returns:
- This builder instance for chaining method calls.
-
texts
Limits the returned items to those that have a matching description.- Parameters:
texts
- Descriptions to which to limit the fetched items.- Returns:
- This builder instance for chaining method calls.
-