|
SAP NetWeaver 7.30 Enterprise Portal (SP07) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMutableAttributes
A mutable extension of the IAttributes interface. Adds methods to set and delete attributes and attribute values
IAttributeSet| Field Summary |
|---|
| Fields inherited from interface com.sap.portal.pcm.IAttributes |
|---|
ADMINISTRATION, ATTRIBUTE_NOT_FOUND, DIALOG, DIALOG_READ_ONLY, NONDIALOG, NONE, PERSONALIZATION, STRING_ATTRIBUTE, TEXT_ATTRIBUTE |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.sap.portal.pcm.IAttributes |
|---|
getAttribute, getAttribute, getAttributeIds, getAttributeType, getAvailableAttributeLocales, getAvailableMetaAttributeLocales, getMetaAttribute, getMetaAttribute, getMetaAttributeIds, getMetaAttributeType |
| Method Detail |
|---|
void deleteAttribute(String attributeId)
throws UnsupportedOperationException
attributeId - the ID of the attribute
UnsupportedOperationException - if the object or attribute is not editable
or if the attribute does not exist
void putAttribute(String attributeId,
String value)
throws UnsupportedOperationException
IAttributeSet.save() is called.
attributeId - the ID of the attributevalue - the new value
UnsupportedOperationException - if the object is not editable or if the attribute is of type text
void 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 locale
UnsupportedOperationException - if this is a read-only object, or if the attribute is of type string
void deleteMetaAttribute(String attributeId,
String metaAttributeId)
attributeId - the ID of an attributemetaAttributeId - the ID of the meta-attribute to be deleted
UnsupportedOperationException - 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 value
UnsupportedOperationException - 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 locale
UnsupportedOperationException - 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] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcm/admin/public/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP07) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||