public final class BaasLink
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<BaasLink> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
static RequestToken |
create(java.lang.String label,
BaasObject source,
BaasObject destination,
int flags,
BaasHandler<BaasLink> handler) |
static RequestToken |
create(java.lang.String label,
java.lang.String source,
java.lang.String destination,
int flags,
BaasHandler<BaasLink> handler) |
static BaasResult<BaasLink> |
createSync(java.lang.String label,
BaasObject source,
BaasObject destination) |
static BaasResult<BaasLink> |
createSync(java.lang.String label,
java.lang.String source,
java.lang.String destination) |
RequestToken |
delete(int flags,
BaasHandler<java.lang.Void> handler) |
BaasResult<java.lang.Void> |
deleteSync() |
int |
describeContents() |
static RequestToken |
fetch(java.lang.String id,
int flags,
BaasHandler<BaasLink> handler) |
static RequestToken |
fetchAll(BaasQuery.Criteria criteria,
int flags,
BaasHandler<java.util.List<BaasLink>> handler) |
static RequestToken |
fetchAll(java.lang.String label,
BaasQuery.Criteria criteria,
int flags,
BaasHandler<java.util.List<BaasLink>> handler) |
static BaasResult<java.util.List<BaasLink>> |
fetchAllSync(BaasQuery.Criteria criteria) |
static BaasResult<java.util.List<BaasLink>> |
fetchAllSync(java.lang.String label,
BaasQuery.Criteria criteria) |
static BaasResult<BaasLink> |
fetchSync(java.lang.String id) |
java.lang.String |
getAuthor() |
java.lang.String |
getCreationDate() |
java.lang.String |
getId() |
java.lang.String |
getLabel() |
long |
getVersion() |
BaasObject |
in() |
BaasObject |
out() |
RequestToken |
refresh(int flags,
BaasHandler<BaasLink> handler) |
BaasResult<BaasLink> |
refreshSync() |
static BaasLink |
withId(java.lang.String id) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<BaasLink> CREATOR
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public int describeContents()
describeContents
in interface android.os.Parcelable
public BaasObject in()
public BaasObject out()
public java.lang.String getLabel()
public java.lang.String getId()
public java.lang.String getAuthor()
public java.lang.String getCreationDate()
public long getVersion()
public static BaasResult<BaasLink> createSync(java.lang.String label, java.lang.String source, java.lang.String destination)
public static BaasResult<BaasLink> createSync(java.lang.String label, BaasObject source, BaasObject destination)
public static RequestToken create(java.lang.String label, java.lang.String source, java.lang.String destination, int flags, BaasHandler<BaasLink> handler)
public static RequestToken create(java.lang.String label, BaasObject source, BaasObject destination, int flags, BaasHandler<BaasLink> handler)
public RequestToken refresh(int flags, BaasHandler<BaasLink> handler)
public BaasResult<BaasLink> refreshSync()
public static RequestToken fetch(java.lang.String id, int flags, BaasHandler<BaasLink> handler)
public static BaasResult<BaasLink> fetchSync(java.lang.String id)
public RequestToken delete(int flags, BaasHandler<java.lang.Void> handler)
public BaasResult<java.lang.Void> deleteSync()
public static RequestToken fetchAll(java.lang.String label, BaasQuery.Criteria criteria, int flags, BaasHandler<java.util.List<BaasLink>> handler)
public static BaasResult<java.util.List<BaasLink>> fetchAllSync(java.lang.String label, BaasQuery.Criteria criteria)
public static RequestToken fetchAll(BaasQuery.Criteria criteria, int flags, BaasHandler<java.util.List<BaasLink>> handler)
public static BaasResult<java.util.List<BaasLink>> fetchAllSync(BaasQuery.Criteria criteria)
public static BaasLink withId(java.lang.String id)