|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentPropertyManager
This interface should be considered almost-deprecated - unless you're retrieving or modifying existing content
properties that were added using a ContentPropertyManager, you should use the entity's
ContentProperties
instead.
Method Summary | |
---|---|
java.lang.String |
getStringProperty(ContentEntityObject entity,
java.lang.String key)
Get a string property associated with a content entity object, or null if that property is not set. |
java.lang.String |
getTextProperty(ContentEntityObject entity,
java.lang.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,
java.lang.String key)
Remove the property associated with the conetent entity object. |
void |
setStringProperty(ContentEntityObject entity,
java.lang.String key,
java.lang.String value)
Associate a string property with a content entity object, or null if that property is not set. |
void |
setTextProperty(ContentEntityObject entity,
java.lang.String key,
java.lang.String value)
Associate a text property with a content entity object, or null if that property is not set. |
void |
transferProperties(ContentEntityObject source,
ContentEntityObject destination)
Copies all properties associated with the source content entity object to the destination content entity object, and then removes all properties from the source content entity object. |
Method Detail |
---|
java.lang.String getStringProperty(ContentEntityObject entity, java.lang.String key)
entity
- the entity the property is associated withkey
- the key with which to look up the property
void setStringProperty(ContentEntityObject entity, java.lang.String key, java.lang.String value)
entity
- the entity the property is associated withkey
- the key with which to look up the propertyvalue
- the value to setjava.lang.String getTextProperty(ContentEntityObject entity, java.lang.String key)
entity
- the entity the property is associated withkey
- the key with which to look up the property
void setTextProperty(ContentEntityObject entity, java.lang.String key, java.lang.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, java.lang.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 withvoid transferProperties(ContentEntityObject source, ContentEntityObject destination)
Draft
to be transferred to the persisted content entity object.
source
- the entity to copy and remove properties fromdestination
- the entity to copy properties to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |