public interface IMutableAttributes extends IAttributes
IAttributeSetADMINISTRATION, ATTRIBUTE_NOT_FOUND, DIALOG, DIALOG_READ_ONLY, NONDIALOG, NONE, PERSONALIZATION, STRING_ATTRIBUTE, TEXT_ATTRIBUTE| Modifier and Type | Method and Description |
|---|---|
void |
deleteAttribute(String attributeId)
Deletes an attribute, if it exists and is editable.
|
void |
deleteMetaAttribute(String attributeId,
String metaAttributeId)
Deletes a meta-attribute if it exists and is editable.
|
void |
putAttribute(String attributeId,
Locale locale,
String value)
Replaces the value of a text-type attribute in the specified locale if it exists,
adds the attribute if it does not exist, or adds the value if the locale does not exist.
|
void |
putAttribute(String attributeId,
String value)
Replaces the value of a string-type attribute if it exists,
or adds the attribute if it does not exist.
|
void |
putMetaAttribute(String attributeId,
String metaAttributeId,
Locale locale,
String value)
Replaces the value of a text-type attribute in the specified locale if it exists,
adds the attribute if it does not exist, or adds the value if the locale does not exist.
|
void |
putMetaAttribute(String attributeId,
String metaAttributeId,
String value)
Replaces the value of a string-type meta-attribute if it exists,
or adds the meta-attribute if it does not exist.
|
getAttribute, getAttribute, getAttributeIds, getAttributeType, getAvailableAttributeLocales, getAvailableMetaAttributeLocales, getMetaAttribute, getMetaAttribute, getMetaAttributeIds, getMetaAttributeTypevoid deleteAttribute(String attributeId) throws UnsupportedOperationException
attributeId - the ID of the attributeUnsupportedOperationException - if the object or attribute is not editable
or if the attribute does not existvoid putAttribute(String attributeId, String value) throws UnsupportedOperationException
IAttributeSet.save() is called.attributeId - the ID of the attributevalue - the new valueUnsupportedOperationException - if the object is not editable or if the attribute is of type textvoid putAttribute(String attributeId, Locale locale, String value) throws UnsupportedOperationException
IAttributeSet.save() is called.attributeId - the ID of the attributelocale - the preferred localevalue - the value assigned to the attribute for the specified localeUnsupportedOperationException - if this is a read-only object, or if the attribute is of type stringvoid deleteMetaAttribute(String attributeId, String metaAttributeId)
attributeId - the ID of an attributemetaAttributeId - the ID of the meta-attribute to be deletedUnsupportedOperationException - if the object or the attribute are not editable or if the attribute does not existdeleteAttribute(java.lang.String)void putMetaAttribute(String attributeId, String metaAttributeId, String value) throws UnsupportedOperationException
IAttributeSet.save() is called.attributeId - the ID of an attributemetaAttributeId - the ID of the meta-attributevalue - the new valueUnsupportedOperationException - if the object or attribute are not editable or if the meta-attribute is of type textputAttribute(java.lang.String, java.lang.String)void putMetaAttribute(String attributeId, String metaAttributeId, Locale locale, String value) throws UnsupportedOperationException
IAttributeSet.save() is called.attributeId - the ID of an attributemetaAttributeId - the ID of the meta-attributelocale - the locale of the valuevalue - the value assigned to the meta-attribute for the specified localeUnsupportedOperationException - if the object or meta-attribute are not editable or if the meta-attribute is of type string.putAttribute(java.lang.String, java.lang.String)| 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