public class ContentProperties extends Object implements Serializable
| Constructor and Description |
|---|
ContentProperties(List<ContentProperty> properties)
You shouldn't use this directly, content properties should be managed by the
ContentEntityObject. |
| Modifier and Type | Method and Description |
|---|---|
List<ContentProperty> |
asList()
You shouldn't use this directly, content properties should be managed by the
ContentEntityObject. |
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 the
ContentEntityObject. |
long |
getLongProperty(String name,
long defaultValue) |
String |
getStringProperty(String name) |
void |
removeProperty(String name) |
void |
setLongProperty(String name,
long value) |
void |
setStringProperty(String name,
String value) |
public ContentProperties(List<ContentProperty> properties)
ContentEntityObject.public static ContentProperties deepClone(ContentProperties properties)
ContentEntityObject.properties - public void setLongProperty(String name, long value)
public long getLongProperty(String name, long defaultValue)
public void removeProperty(String name)
public List<ContentProperty> asList()
ContentEntityObject.Copyright © 2003–2022 Atlassian. All rights reserved.