|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IValidation
Validation of property values.
| Method Summary | |
|---|---|
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 namespace for the error IDs the are returned. |
IValidationErrorList |
validate(IMetaName metaName,
IProperty property,
IMetaContext metaContext)
Validation of properties via predefined validation classes |
| Method Detail |
|---|
IValidationErrorList validate(IMetaName metaName,
IProperty property,
IMetaContext metaContext)
throws PropertyConfigurationServiceException
metaName - meta model information of a propertyproperties - list of properties to validatemetadataContext - 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 - locale to determine the message language
PropertyConfigurationServiceException
String getErrorMessage(String errorID,
IMetaNameList metaNames,
Locale locale,
Map additionalInfo)
throws PropertyConfigurationServiceException
errorID - validation error IDmetaNames - list of meta names that caused the errorlocale - locale to determine the message languageadditionalInfo - map with additional information about the error; can be null
PropertyConfigurationServiceExceptionString 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
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||