|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.api.model.content.JsonContentProperty
@ExperimentalApi public class JsonContentProperty
Container for arbitrary JSON data attached to some Content
.
Nested Class Summary | |
---|---|
static class |
JsonContentProperty.ContentPropertyBuilder
|
static class |
JsonContentProperty.Expansions
Provides property names that can be used to expand JsonContentProperty objects. |
Method Summary | |
---|---|
static JsonContentProperty.ContentPropertyBuilder |
builder()
Creates a builder. |
static JsonContentProperty.ContentPropertyBuilder |
builder(JsonContentProperty propertyTemplate)
Creates a builder, initialized from the given template. |
static Reference<JsonContentProperty> |
buildReference(JsonContentPropertyId id)
Creates a collapsed reference to a JsonContentProperty with the given id, or an empty reference, if none was given. |
boolean |
equals(Object o)
|
Content |
getContent()
|
Reference<Content> |
getContentRef()
|
JsonContentPropertyId |
getId()
|
String |
getKey()
|
JsonString |
getValue()
|
Version |
getVersion()
|
int |
hashCode()
|
Navigation.Builder |
resolveNavigation(NavigationService navigationService)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static JsonContentProperty.ContentPropertyBuilder builder()
public static JsonContentProperty.ContentPropertyBuilder builder(JsonContentProperty propertyTemplate)
propertyTemplate
- the template to build from
public static Reference<JsonContentProperty> buildReference(@Nullable JsonContentPropertyId id)
id
- the content property id. Can be null.
public JsonContentPropertyId getId()
public String getKey()
public JsonString getValue()
public Reference<Content> getContentRef()
public Content getContent()
@Nullable public Version getVersion()
public Navigation.Builder resolveNavigation(NavigationService navigationService)
resolveNavigation
in interface NavigationAware
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |