ReadThroughCachingContentPropertyManager@ParametersAreNonnullByDefault @Deprecated public class DefaultContentPropertyManager extends Object implements ContentPropertyManager
| Constructor and Description |
|---|
DefaultContentPropertyManager(ConfluencePropertySetManager propertySetManager,
com.atlassian.vcache.VCacheFactory cacheFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStringProperty(ContentEntityObject entity,
String key)
Deprecated.
Get a string property associated with a content entity object, or null if that property
is not set.
|
String |
getTextProperty(ContentEntityObject entity,
String key)
Deprecated.
Get a text property associated with a content entity object, or null if that property
is not set.
|
void |
removeProperties(ContentEntityObject entity)
Deprecated.
Remove all the properties associated with the content entity object.
|
void |
removeProperty(ContentEntityObject entity,
String key)
Deprecated.
Remove the property associated with the content entity object.
|
void |
setStringProperty(ContentEntityObject entity,
String key,
@Nullable String value)
Deprecated.
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)
Deprecated.
Associate a text property with a content entity object, or null if that property
is not set.
|
void |
transferProperties(ContentEntityObject source,
ContentEntityObject destination)
Deprecated.
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.
|
public DefaultContentPropertyManager(ConfluencePropertySetManager propertySetManager, com.atlassian.vcache.VCacheFactory cacheFactory)
public String getStringProperty(ContentEntityObject entity, String key)
ContentPropertyManagergetStringProperty in interface ContentPropertyManagerentity - the entity the property is associated withkey - the key with which to look up the propertypublic void setStringProperty(ContentEntityObject entity, String key, @Nullable String value)
ContentPropertyManagersetStringProperty in interface ContentPropertyManagerentity - 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)
ContentPropertyManagergetTextProperty in interface ContentPropertyManagerentity - the entity the property is associated withkey - the key with which to look up the propertypublic void setTextProperty(ContentEntityObject entity, String key, String value)
ContentPropertyManagersetTextProperty in interface ContentPropertyManagerentity - 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)
ContentPropertyManagerremoveProperty in interface ContentPropertyManagerentity - the entity the property is associated withkey - the key with which to look up the propertypublic void removeProperties(ContentEntityObject entity)
ContentPropertyManagerremoveProperties in interface ContentPropertyManagerentity - the entity the property is associated withpublic void transferProperties(ContentEntityObject source, ContentEntityObject destination)
ContentPropertyManager
Intended use is for any properties saved against a Draft
to be transferred to the persisted content entity object.
transferProperties in interface ContentPropertyManagersource - the entity to copy and remove properties fromdestination - the entity to copy properties toCopyright © 2003–2020 Atlassian. All rights reserved.