Interface ClassificationAttributeValueService
- All Known Implementing Classes:
DefaultClassificationAttributeValueService
public interface ClassificationAttributeValueService
Provides operations to interact with
ClassificationAttributeValueModels-
Method Summary
Modifier and TypeMethodDescriptioncreate(ClassificationSystemVersionModel systemVersion, String valueCode) Creates theClassificationAttributeValueModelwith the given system version and codefind(ClassificationSystemVersionModel systemVersion, String valueCode) Finds theClassificationAttributeValueModelby the given system version and code
-
Method Details
-
find
Optional<ClassificationAttributeValueModel> find(ClassificationSystemVersionModel systemVersion, String valueCode) Finds theClassificationAttributeValueModelby the given system version and code- Parameters:
systemVersion- System version the attribute value is associated withvalueCode- The code of the attribute value to find- Returns:
- Optional contains the result if the attribute value exists, otherwise
Optional.empty()
-
create
ClassificationAttributeValueModel create(ClassificationSystemVersionModel systemVersion, String valueCode) Creates theClassificationAttributeValueModelwith the given system version and code- Parameters:
systemVersion- System version the attribute value is associated withvalueCode- The code of the attribute to create- Returns:
- The created attribute value
-