public interface IValidation
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage(String errorID,
IMetaNameList metaNames,
Locale locale)
Deprecated.
since EP6 SP2 FP, use getErrorMessage(String,IMetaNameList,Locale,Map)
|
String |
getErrorMessage(String errorID,
IMetaNameList metaNames,
Locale locale,
Map additionalInfo) |
String |
getValidationInstanceID()
The validation instance ID is used as a name space for the error IDs the are returned.
|
IValidationErrorList |
validate(IMetaName metaName,
IProperty property,
IMetaContext metaContext)
Validation of properties via predefined validation classes
|
IValidationErrorList validate(IMetaName metaName, IProperty property, IMetaContext metaContext) throws PropertyConfigurationServiceException
metaName
- meta model information of a propertyproperty
- list of properties to validatemetaContext
- context information. Can be null if no context information is provided by the calling UI.PropertyConfigurationServiceException
String getErrorMessage(String errorID, IMetaNameList metaNames, Locale locale) throws PropertyConfigurationServiceException
errorID
- validation error IDmetaNames
- list of meta names that caused the errorlocale
- local to determine the message languagePropertyConfigurationServiceException
String getErrorMessage(String errorID, IMetaNameList metaNames, Locale locale, Map additionalInfo) throws PropertyConfigurationServiceException
errorID
- validation error IDmetaNames
- list of meta names that caused the errorlocale
- local to determine the message languageadditionalInfo
- map with additional information about the error; can be null
PropertyConfigurationServiceException
String getValidationInstanceID()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice