Class JsonContentPropertyId
- java.lang.Object
-
- com.atlassian.confluence.api.model.content.id.JsonContentPropertyId
-
@ExperimentalApi public class JsonContentPropertyId extends Object
Identifies aJsonContentProperty
instance.- Since:
- 5.6
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
asLong()
static JsonContentPropertyId
deserialise(String id)
boolean
equals(Object o)
int
hashCode()
boolean
isSet()
static JsonContentPropertyId
of(long id)
String
serialise()
String
toString()
static JsonContentPropertyId
valueOf(String id)
Deprecated.since 5.6 Don't use.
-
-
-
Field Detail
-
UNSET
public static final ContentId UNSET
-
-
Method Detail
-
deserialise
public static JsonContentPropertyId deserialise(String id) throws BadRequestException
- Throws:
BadRequestException
-
of
public static JsonContentPropertyId of(long id)
-
serialise
public String serialise()
-
asLong
public long asLong()
-
isSet
public boolean isSet()
-
valueOf
@Deprecated public static JsonContentPropertyId valueOf(String id) throws BadRequestException
Deprecated.since 5.6 Don't use. Usedeserialise(String)
instead.Just for Jersey QueryParam automatic conversion.Client code should use the deserialize factory method.
- Throws:
BadRequestException
-
-