com.atlassian.confluence.api.model.content.id
Class JsonContentPropertyId

java.lang.Object
  extended by com.atlassian.confluence.api.model.content.id.JsonContentPropertyId

@ExperimentalApi
public class JsonContentPropertyId
extends Object

Identifies a JsonContentProperty instance.

Since:
5.6

Field Summary
static ContentId UNSET
           
 
Method Summary
 long asLong()
           
static JsonContentPropertyId deserialise(String id)
           
 boolean equals(Object other)
           
 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. Use deserialise(String) instead.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

valueOf

@Deprecated
public static JsonContentPropertyId valueOf(String id)
                                     throws BadRequestException
Deprecated. since 5.6 Don't use. Use deserialise(String) instead.

Just for Jersey QueryParam automatic conversion. Client code should use the deserialize factory method.

Throws:
BadRequestException


Copyright © 2003–2015 Atlassian. All rights reserved.