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 SummaryConstructorsConstructorDescriptionContentProperties(List<ContentProperty> properties) You shouldn't use this directly, content properties should be managed by theContentEntityObject.
- 
Method SummaryModifier 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- 
ContentPropertiesYou shouldn't use this directly, content properties should be managed by theContentEntityObject.
 
- 
- 
Method Details- 
deepCloneCreates 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
- 
asListYou shouldn't use this directly, content properties should be managed by theContentEntityObject.
 
-