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 ContentPropertiesdeepClone(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.longgetLongProperty(String name, long defaultValue) getStringProperty(String name) voidremoveProperty(String name) voidsetLongProperty(String name, long value) voidsetStringProperty(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.
-