public interface ContentPropertyManager
Modifier and Type | Method and Description |
---|---|
String |
getStringProperty(ContentEntityObject entity,
String key)
Get a string property associated with a content entity object, or null if that property
is not set.
|
String |
getTextProperty(ContentEntityObject entity,
String key)
Get a text property associated with a content entity object, or null if that property
is not set.
|
void |
removeProperties(ContentEntityObject entity)
Remove all the properties associated with the content entity object.
|
void |
removeProperty(ContentEntityObject entity,
String key)
Remove the property associated with the conetent entity object.
|
void |
setStringProperty(ContentEntityObject entity,
String key,
String value)
Associate a string property with a content entity object, or null if that property
is not set.
|
void |
setTextProperty(ContentEntityObject entity,
String key,
String value)
Associate a text property with a content entity object, or null if that property
is not set.
|
String getStringProperty(ContentEntityObject entity, String key)
entity
- the entity the property is associated withkey
- the key with which to look up the propertyvoid setStringProperty(ContentEntityObject entity, String key, String value)
entity
- the entity the property is associated withkey
- the key with which to look up the propertyvalue
- the value to setString getTextProperty(ContentEntityObject entity, String key)
entity
- the entity the property is associated withkey
- the key with which to look up the propertyvoid setTextProperty(ContentEntityObject entity, String key, String value)
entity
- the entity the property is associated withkey
- the key with which to look up the propertyvalue
- the value to setvoid removeProperty(ContentEntityObject entity, String key)
entity
- the entity the property is associated withkey
- the key with which to look up the propertyvoid removeProperties(ContentEntityObject entity)
entity
- the entity the property is associated with