Package com.atlassian.confluence.content
Class ContentProperties
java.lang.Object
com.atlassian.confluence.content.ContentProperties
- All Implemented Interfaces:
Serializable
Encapsulates the properties of a content object. You should never deal with the ContentProperty list directly.
In fact, you probably want to use the ContentPropertyService and a JsonContentProperty instead.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContentProperties
(List<ContentProperty> properties) You shouldn't use this directly, content properties should be managed by theContentEntityObject
. -
Method Summary
Modifier and TypeMethodDescriptionasList()
You shouldn't use this directly, content properties should be managed by theContentEntityObject
.static ContentProperties
deepClone
(ContentProperties properties) Creates a deep clone of a properties object, throwing away any dangerous Hibernate associations - you shouldn't call this directly, content properties should be managed by theContentEntityObject
.long
getLongProperty
(String name, long defaultValue) getStringProperty
(String name) void
removeProperty
(String name) void
setLongProperty
(String name, long value) void
setStringProperty
(String name, String value)
-
Constructor Details
-
ContentProperties
You shouldn't use this directly, content properties should be managed by theContentEntityObject
.
-
-
Method Details
-
deepClone
Creates a deep clone of a properties object, throwing away any dangerous Hibernate associations - you shouldn't call this directly, content properties should be managed by theContentEntityObject
. -
setStringProperty
-
getStringProperty
-
setLongProperty
-
getLongProperty
-
removeProperty
-
asList
You shouldn't use this directly, content properties should be managed by theContentEntityObject
.
-