public interface IAttributeSet extends IMutableAttributes
IMutableAttributes and adds two methods: save() and validate().IMutableAttributes
and IAttributes. String (non-null)
or a translatable text that requires a locale when setting and getting.
There are two types of attributes and meta-attributes:
Technically, it is possible to have metadata attributes without the underlying data attribute.
For implementations on top of the PCD, in order to keep the persistency traffic as small as possible
and to keep the delta link mechanism meaningful,
it is important that a save() send only actual modifications to the
persistency, not a full dump of the current state. This makes it necessary to
collect all changes (and not only the resulting state) so that these changes can
be translated into modification items that are sent to the persistency.
Therefore, never use the putAttribute() methods with a value that is already assigned
to that attribute, since this creates a modification that "breaks" the delta link, unless you want
to create a modification (and break the delta link).
UnsupportedOperationException.ADMINISTRATION, ATTRIBUTE_NOT_FOUND, DIALOG, DIALOG_READ_ONLY, NONDIALOG, NONE, PERSONALIZATION, STRING_ATTRIBUTE, TEXT_ATTRIBUTE| Modifier and Type | Method and Description |
|---|---|
void |
save()
Updates the persistency with all changes.
|
void |
validate()
Performs consistency checks on the current set of attributes.
|
deleteAttribute, deleteMetaAttribute, putAttribute, putAttribute, putMetaAttribute, putMetaAttributegetAttribute, getAttribute, getAttributeIds, getAttributeType, getAvailableAttributeLocales, getAvailableMetaAttributeLocales, getMetaAttribute, getMetaAttribute, getMetaAttributeIds, getMetaAttributeTypevoid save() throws ValidationException, IOException
validate() method, before saving.ValidationException - if an error occurs due to consistency problemsIOException - if the save failsvoid validate()
throws ValidationException
ValidationException - if consistency is not given| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcm/admin/public/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice