public interface ClassificationSystemService
| Modifier and Type | Method and Description |
|---|---|
ClassificationAttributeModel |
getAttributeForCode(ClassificationSystemVersionModel systemVersion,
java.lang.String code)
Retrieves the
ClassificationAttributeModel in the classification system version with the code. |
ClassificationAttributeUnitModel |
getAttributeUnitForCode(ClassificationSystemVersionModel systemVersion,
java.lang.String code)
Retrieves the
ClassificationAttributeUnitModel in the classification system version with the code. |
java.util.Collection<ClassificationAttributeUnitModel> |
getAttributeUnitsForSystemVersion(ClassificationSystemVersionModel systemVersion)
Retrieves all
ClassificationAttributeUnitModels in the classification system version. |
ClassificationAttributeValueModel |
getAttributeValueForCode(ClassificationSystemVersionModel systemVersion,
java.lang.String code)
Retrieves the
ClassificationAttributeValueModel in the classification system version with the code. |
ClassificationClassModel |
getClassForCode(ClassificationSystemVersionModel systemVersion,
java.lang.String code)
Retrieves the
ClassificationClassModel in the classification system version with its unique code. |
java.util.Collection<ClassificationAttributeUnitModel> |
getConvertibleUnits(ClassificationAttributeUnitModel attributeUnit)
Retrieves all other unites of the same type in the system version for the specific attribute unit.
|
java.util.Collection<ClassificationClassModel> |
getRootClassesForSystemVersion(ClassificationSystemVersionModel systemVersion)
Retrieves all root
ClassificationClassModels in the classification system version. |
ClassificationSystemModel |
getSystemForId(java.lang.String id)
Retrieves the
ClassificationSystemModel with the specified id. |
ClassificationSystemVersionModel |
getSystemVersion(java.lang.String systemId,
java.lang.String systemVersion)
|
java.util.Collection<ClassificationAttributeUnitModel> |
getUnitsOfTypeForSystemVersion(ClassificationSystemVersionModel systemVersion,
java.lang.String type)
Retrieves all
ClassificationAttributeUnitModels in the classification system version with the specific
type. |
java.util.Collection<java.lang.String> |
getUnitTypesForSystemVersion(ClassificationSystemVersionModel systemVersion)
Retrieves all unit types of the
ClassificationAttributeUnitModels in the classification system version. |
ClassificationSystemModel getSystemForId(java.lang.String id)
ClassificationSystemModel with the specified id.id - the id of the classification systemClassificationSystemModel.UnknownIdentifierException - if no ClassificationSystem with the specified id can be found.AmbiguousIdentifierException - if more than one ClassificationSystem can be found with the specified id.java.lang.IllegalArgumentException - if id is nullClassificationSystemVersionModel getSystemVersion(java.lang.String systemId, java.lang.String systemVersion)
systemId - the id of the classification systemsystemVersion - the version of the classification system versionClassificationSystemVersionModelUnknownIdentifierException - if no ClassificationSystemVersion with the specified system id and version existsAmbiguousIdentifierException - if more than one ClassificationSystemVersionModel can be found with the specified system id and versionjava.lang.IllegalArgumentException - if systemId or systemVersion is nullClassificationClassModel getClassForCode(ClassificationSystemVersionModel systemVersion, java.lang.String code)
ClassificationClassModel in the classification system version with its unique code.systemVersion - the classification system version of the classification classcode - the code of the classification classClassificationClassModelUnknownIdentifierException - if no classification class in the system version with the code existsAmbiguousIdentifierException - if more than one classification class can be found in the specified system version with the codejava.lang.IllegalArgumentException - if systemVersion or code is nullClassificationAttributeModel getAttributeForCode(ClassificationSystemVersionModel systemVersion, java.lang.String code)
ClassificationAttributeModel in the classification system version with the code.systemVersion - the classification system version of the classification attributecode - the code of the classification attributeClassificationAttributeModelUnknownIdentifierException - if no classification attribute in the system version with the code existsAmbiguousIdentifierException - if more than one classification attribute can be found in the specified system version with the codejava.lang.IllegalArgumentException - if systemVersion or code is nullClassificationAttributeValueModel getAttributeValueForCode(ClassificationSystemVersionModel systemVersion, java.lang.String code)
ClassificationAttributeValueModel in the classification system version with the code.systemVersion - the classification system version of the classification attribute valuecode - the code of the classification attribute valueClassificationAttributeValueModelUnknownIdentifierException - if no classification attribute value in the system version with the code existsAmbiguousIdentifierException - if more than one classification attribute value can be found in the specified system version with the
codejava.lang.IllegalArgumentException - if systemVersion or code is nulljava.util.Collection<ClassificationAttributeUnitModel> getConvertibleUnits(ClassificationAttributeUnitModel attributeUnit)
attributeUnit - the classification attribute unit which has convertible unitsClassificationAttributeUnitModels that have the same type and in the same system versionjava.lang.IllegalArgumentException - if attributeUnit is nullClassificationAttributeUnitModel getAttributeUnitForCode(ClassificationSystemVersionModel systemVersion, java.lang.String code)
ClassificationAttributeUnitModel in the classification system version with the code.systemVersion - the classification system version of the classification attribute unitcode - the code of the classification attribute unitClassificationAttributeUnitModelUnknownIdentifierException - if no classification attribute unit in the system version with the code existsAmbiguousIdentifierException - if more than one classification attribute unit can be found in the specified system version with the
codejava.lang.IllegalArgumentException - if systemVersion or code is nulljava.util.Collection<ClassificationAttributeUnitModel> getAttributeUnitsForSystemVersion(ClassificationSystemVersionModel systemVersion)
ClassificationAttributeUnitModels in the classification system version.systemVersion - the classification system version that contains the classification attribute unitsClassificationAttributeUnitModelsjava.lang.IllegalArgumentException - if systemVersion is nulljava.util.Collection<ClassificationAttributeUnitModel> getUnitsOfTypeForSystemVersion(ClassificationSystemVersionModel systemVersion, java.lang.String type)
ClassificationAttributeUnitModels in the classification system version with the specific
type.systemVersion - the classification system version that contains the classification attribute unitstype - unit type of the classification attribute unitsClassificationAttributeUnitModelsjava.lang.IllegalArgumentException - if systemVersion or type is nulljava.util.Collection<java.lang.String> getUnitTypesForSystemVersion(ClassificationSystemVersionModel systemVersion)
ClassificationAttributeUnitModels in the classification system version.systemVersion - the classification system version that contains the classification attribute unitsjava.lang.IllegalArgumentException - if systemVersion is nulljava.util.Collection<ClassificationClassModel> getRootClassesForSystemVersion(ClassificationSystemVersionModel systemVersion)
ClassificationClassModels in the classification system version.systemVersion - the classification system version that contains the root classification attribute classesClassificationClassModelsjava.lang.IllegalArgumentException - if systemVersion is nullCopyright © 2018 SAP SE. All Rights Reserved.