|
||||||||||
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 | |
---|---|
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 |
setCacheManager(com.atlassian.cache.CacheManager cacheManager)
|
void |
setPropertySetManager(ConfluencePropertySetManager propertySetManager)
|
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. |
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 String getStringProperty(ContentEntityObject entity, 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, String key, 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 String getTextProperty(ContentEntityObject entity, 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, String key, 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, 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 with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |