|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.core.DefaultContentPropertyManager
public class DefaultContentPropertyManager
Constructor Summary | |
---|---|
DefaultContentPropertyManager()
|
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 |
setCacheManager(com.atlassian.cache.CacheManager cacheManager)
|
void |
setPropertySetManager(ConfluencePropertySetManager propertySetManager)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultContentPropertyManager()
Method Detail |
---|
public void setCacheManager(com.atlassian.cache.CacheManager cacheManager)
public void setPropertySetManager(ConfluencePropertySetManager propertySetManager)
public java.lang.String getStringProperty(ContentEntityObject entity, java.lang.String key)
ContentPropertyManager
getStringProperty
in interface ContentPropertyManager
entity
- the entity the property is associated withkey
- the key with which to look up the property
public void setStringProperty(ContentEntityObject entity, java.lang.String key, java.lang.String value)
ContentPropertyManager
setStringProperty
in interface ContentPropertyManager
entity
- the entity the property is associated withkey
- the key with which to look up the propertyvalue
- the value to setpublic java.lang.String getTextProperty(ContentEntityObject entity, java.lang.String key)
ContentPropertyManager
getTextProperty
in interface ContentPropertyManager
entity
- the entity the property is associated withkey
- the key with which to look up the property
public void setTextProperty(ContentEntityObject entity, java.lang.String key, java.lang.String value)
ContentPropertyManager
setTextProperty
in interface ContentPropertyManager
entity
- the entity the property is associated withkey
- the key with which to look up the propertyvalue
- the value to setpublic void removeProperty(ContentEntityObject entity, java.lang.String key)
ContentPropertyManager
removeProperty
in interface ContentPropertyManager
entity
- the entity the property is associated withkey
- the key with which to look up the propertypublic void removeProperties(ContentEntityObject entity)
ContentPropertyManager
removeProperties
in interface ContentPropertyManager
entity
- the entity the property is associated withpublic void transferProperties(ContentEntityObject source, ContentEntityObject destination)
ContentPropertyManager
Draft
to be transferred to the persisted content entity object.
transferProperties
in interface ContentPropertyManager
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 |