|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMetaModel
IMetaModel defines a model of name - value pair configuration which can be used by UI to create custom properties. The info exists of a list of names, each name has 0 or * values, each value has 1 or * set of sub values (= multi value).
| Field Summary | |
|---|---|
static String |
CUSTOM_NAMESPACE
Name space is used to create properties. |
| Method Summary | |
|---|---|
boolean |
checkMatchesMetaContext(IMetaName metaName,
IMetaContext metaContext)
Checks if the meta name fulfils all filter criteria to be displayed for the context information. |
IMetaContext |
createEmptyMetaContext()
returns an empty IMetaContext |
IMetaNameList |
createEmptyMetaNameList()
returns an empty IMetaNameList |
IMetaValueList |
createEmptyMetaValueList()
returns an empty IMetaValueList |
IValidationErrorList |
createEmptyValidationErrorList()
returns an empty IValidationErrorList |
IMetaModelExport |
createMetaModelExport()
|
IMetaModelImport |
createMetaModelImport()
|
IMetaValue |
createMetaValue(IMetaModel model,
IMetaName metaName,
IDynamicValues dynamicValuesInstance,
String value)
Returns an IMetaValue |
IProperty |
createProperty(IMetaName name,
IMetaValue value)
Creates a property from meta name and value. |
IValidationError |
createValidationError(IMetaModel model,
IMetaName metaName,
IValidation validationInstance,
String errorID)
Returns an IValidationError |
String |
getBundleString(String key,
Locale locale)
Read an internationalised string from the model's bundles |
String |
getBundleString(String key,
Locale locale,
Object[] objs)
Read an internationalised string from the model's bundles |
IMetaGroupListIterator |
groupIterator()
Returns a iterator to get a ordered group list. |
boolean |
isRestricted()
Returns a flag which can be evaluated by UI to enable non restricted property creation. |
IMetaNameListIterator |
nameIterator()
Returns a iterator to get a ordered name list. |
IMetaNameListIterator |
nameIterator(IMetaContext metaContext)
Returns an iterator to get the properties configured for specific resource data |
IMetaNameListIterator |
nameIterator(IMetaContext metaContext,
IMetaGroup metaGroup)
Returns an iterator to get the properties configured for specific resource data and with a specific meta group |
IMetaName |
searchById(String id)
Search for a meta name by given id. |
IMetaName |
searchByProperty(IProperty property)
Search for the meta name that was used to create the passed property. |
IMetaName |
searchByPropertyName(IPropertyName propertyName)
Search for the meta name by a given property name. |
IMetaGroup |
searchGroupById(String id)
Search for a meta group by given id. |
IValidationErrorList |
validate(IProperty property,
IMetaContext metaContext)
Validation of properties via predefined validation classes |
IValidationErrorList |
validate(IPropertyMap properties,
IMetaContext metaContext)
Validation of properties via predefined validation classes |
| Field Detail |
|---|
static final String CUSTOM_NAMESPACE
| Method Detail |
|---|
IMetaNameList createEmptyMetaNameList()
IMetaNameList
IMetaValueList createEmptyMetaValueList()
IMetaValueList
IMetaContext createEmptyMetaContext()
IMetaContext
IValidationErrorList createEmptyValidationErrorList()
IValidationErrorList
IValidationError createValidationError(IMetaModel model,
IMetaName metaName,
IValidation validationInstance,
String errorID)
IValidationError
model - meta modelmetaName - invalid meta namevalidationInstance - validation instanceerrorID - error ID
IMetaValue createMetaValue(IMetaModel model,
IMetaName metaName,
IDynamicValues dynamicValuesInstance,
String value)
IMetaValue
model - meta modelmetaName - meta name for that the value is validdynamicValuesInstance - value providervalue - property value
IMetaNameListIterator nameIterator()
throws PropertyConfigurationServiceException
PropertyConfigurationServiceException - Exception raised in failure situation
<{PropertyConfigurationServiceException}>
IMetaNameListIterator nameIterator(IMetaContext metaContext)
throws PropertyConfigurationServiceException
metaContext - context information
PropertyConfigurationServiceException - Exception raised in failure
situation
<{PropertyConfigurationServiceException}>
IMetaNameListIterator nameIterator(IMetaContext metaContext,
IMetaGroup metaGroup)
throws PropertyConfigurationServiceException
metaContext - context informationmetaGroup - group as additional filter criterium
PropertyConfigurationServiceException - Exception raised in failure
situation
<{PropertyConfigurationServiceException}>
IMetaGroupListIterator groupIterator()
throws PropertyConfigurationServiceException
PropertyConfigurationServiceException - Exception raised in failure situation
<{PropertyConfigurationServiceException}>
IMetaName searchByProperty(IProperty property)
throws PropertyConfigurationServiceException
property - Search argument.
PropertyConfigurationServiceException
IMetaName searchByPropertyName(IPropertyName propertyName)
throws PropertyConfigurationServiceException
propertyName - Search argument.
PropertyConfigurationServiceException - Exception raised in failure situation
<{PropertyConfigurationServiceException}>
IMetaName searchById(String id)
throws PropertyConfigurationServiceException
id - meta name id
PropertyConfigurationServiceException
IMetaGroup searchGroupById(String id)
throws PropertyConfigurationServiceException
id - meta group id
PropertyConfigurationServiceException
IProperty createProperty(IMetaName name,
IMetaValue value)
throws PropertyConfigurationServiceException
name - - A meta namevalue - - A meta value
PropertyConfigurationServiceExceptionboolean isRestricted()
String getBundleString(String key,
Locale locale)
throws MissingResourceException
key - - the text keylocale - - the current local
MissingResourceException
String getBundleString(String key,
Locale locale,
Object[] objs)
throws MissingResourceException
key - text keylocale - current localsobjs - bundle string parameters
MissingResourceException
IValidationErrorList validate(IPropertyMap properties,
IMetaContext metaContext)
throws PropertyConfigurationServiceException
properties - list of properties to validatemetaContext - context information
PropertyConfigurationServiceException
IValidationErrorList validate(IProperty property,
IMetaContext metaContext)
throws PropertyConfigurationServiceException
property - list of properties to validatemetaContext - context information
PropertyConfigurationServiceException
boolean checkMatchesMetaContext(IMetaName metaName,
IMetaContext metaContext)
throws PropertyConfigurationServiceException
metaName - meta name to be checkedmetaContext - context information that is used to check the meta name
PropertyConfigurationServiceExceptionIMetaModelExport createMetaModelExport()
IMetaModelImport createMetaModelImport()
| 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.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||