Package | Description |
---|---|
com.cumulocity.rest.representation.tenant | |
com.cumulocity.sdk.client.option |
Modifier and Type | Method and Description |
---|---|
static OptionRepresentation |
OptionRepresentation.asOptionRepresentation(String category,
String key,
String value) |
Modifier and Type | Method and Description |
---|---|
List<OptionRepresentation> |
OptionCollectionRepresentation.getOptions() |
Iterator<OptionRepresentation> |
OptionCollectionRepresentation.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
OptionCollectionRepresentation.setOptions(List<OptionRepresentation> tenants) |
Modifier and Type | Method and Description |
---|---|
OptionRepresentation |
SystemOptionApi.getOption(com.cumulocity.model.option.OptionPK optionPK)
Gets an option by id
Requires role ROLE_OPTION_MANAGEMENT_READ
|
OptionRepresentation |
SystemOptionApiImpl.getOption(com.cumulocity.model.option.OptionPK optionPK) |
OptionRepresentation |
TenantOptionApi.getOption(com.cumulocity.model.option.OptionPK optionPK)
Gets an option by id
Requires role ROLE_OPTION_MANAGEMENT_READ
|
OptionRepresentation |
TenantOptionApiImpl.getOption(com.cumulocity.model.option.OptionPK optionPK) |
OptionRepresentation |
TenantOptionApi.save(OptionRepresentation option)
Creates or updates an option in the platform.
|
OptionRepresentation |
TenantOptionApiImpl.save(OptionRepresentation representation) |
Modifier and Type | Method and Description |
---|---|
Iterable<OptionRepresentation> |
PagedTenantOptionCollectionRepresentation.allPages() |
Iterable<OptionRepresentation> |
PagedTenantOptionCollectionRepresentation.elements(int limit) |
List<OptionRepresentation> |
TenantOptionApi.getAllOptionsForCategory(String category)
Gets all options from the platform for the specific category
Requires role ROLE_OPTION_MANAGEMENT_READ
|
List<OptionRepresentation> |
TenantOptionApiImpl.getAllOptionsForCategory(String category) |
Modifier and Type | Method and Description |
---|---|
OptionRepresentation |
TenantOptionApi.save(OptionRepresentation option)
Creates or updates an option in the platform.
|
OptionRepresentation |
TenantOptionApiImpl.save(OptionRepresentation representation) |
Future |
TenantOptionApi.saveAsync(OptionRepresentation option)
Creates or updates an option in the platform.
|
Future |
TenantOptionApiImpl.saveAsync(OptionRepresentation representation) |
Constructor and Description |
---|
PagedTenantOptionCollectionRepresentation(OptionCollectionRepresentation collection,
PagedCollectionResource<OptionRepresentation,? extends OptionCollectionRepresentation> collectionResource) |
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.