OfflineODataErrorArchiveEntity

open class OfflineODataErrorArchiveEntity : EntityValue, Parcelable

A built-in Offline OData entity type which stores information about a modification request which failed during an upload operation.

Constructors

Link copied to clipboard
constructor(withDefaults: Boolean, @Nullable @Nullable withIndexMap: @Nullable SparseIndexMap)

Properties

Link copied to clipboard
@NotNull
open var affectedEntity: @NotNull Property
Link copied to clipboard
@NotNull
open var code: @NotNull Property
Link copied to clipboard
Link copied to clipboard
@NotNull
open var customHeaders: @NotNull Property
Link copied to clipboard
@NotNull
open var customTag: @NotNull Property
Link copied to clipboard
@NotNull
open var dependentRequests: @NotNull Property
Link copied to clipboard
@NotNull
open var domain: @NotNull Property
Link copied to clipboard
@NotNull
open var httpStatusCode: @NotNull Property
Link copied to clipboard
@NotNull
open var innerError: @NotNull Property
Link copied to clipboard
@NotNull
open var message: @NotNull Property
Link copied to clipboard
@NotNull
open var requestBody: @NotNull Property
Link copied to clipboard
@NotNull
open var requestEntity: @NotNull Property
Link copied to clipboard
@NotNull
open var requestID: @NotNull Property
Link copied to clipboard
@NotNull
open var requestMethod: @NotNull Property
Link copied to clipboard
@NotNull
open var requestURL: @NotNull Property
Link copied to clipboard
val undefined: @NotNull DataValue

Functions

Link copied to clipboard
open fun asDraft(): @NotNull EntityValue
Link copied to clipboard
open fun bindEntity(entity: @NotNull EntityValue, to: @NotNull Property)
Link copied to clipboard
open fun castOptional(value: @Nullable DataValue): @Nullable EntityValue
Link copied to clipboard
open fun castRequired(value: @Nullable DataValue): @NotNull EntityValue
Link copied to clipboard
open fun cloneMutable(value: @Nullable DataValue): @Nullable DataValue
Link copied to clipboard
open fun compareKeys(left: @Nullable EntityValue, right: @Nullable EntityValue): Int
Link copied to clipboard
@NotNull
open fun copy(): @NotNull OfflineODataErrorArchiveEntity
Link copied to clipboard
open fun copyEntity(): @NotNull EntityValue
Link copied to clipboard
open fun copyKey(from: @NotNull EntityValue)
Link copied to clipboard
open fun copyMutable(): @NotNull DataValue
Link copied to clipboard
open fun copyProperties(from: @NotNull EntityValue)
Link copied to clipboard
open fun copyStructure(): @NotNull StructureBase
Link copied to clipboard
open fun describeContents(): Int
Internal implementation.
Link copied to clipboard
open fun equal(left: @Nullable EntityValue, right: @Nullable EntityValue): Boolean
Link copied to clipboard
open fun equalKeys(left: @Nullable EntityValue, right: @Nullable EntityValue): Boolean
Link copied to clipboard
open fun equals(other: @Nullable Any): Boolean
Link copied to clipboard
open fun forCreate(): @NotNull EntityValue
Link copied to clipboard
open fun forDeepCreate(paths: Array<@NotNull PropertyPath>): @NotNull EntityValue
Link copied to clipboard
open fun forDeepUpdate(paths: Array<@NotNull PropertyPath>): @NotNull EntityValue
Link copied to clipboard
open fun forUpdate(): @NotNull EntityValue
Link copied to clipboard
open fun generateDraftKey()
Link copied to clipboard
@Nullable
open fun getAffectedEntity(): @Nullable EntityValue
Return (nullable) The navigation property which allows navigating from the failed request to the primary entity.
Link copied to clipboard
Link copied to clipboard
fun getAnnotations(): @NotNull AnnotationMap
Link copied to clipboard
fun getBackendETag(): @Nullable String
Link copied to clipboard
open fun getCanonicalURL(): @NotNull String
Link copied to clipboard
fun getCascadePaths(): @Nullable PropertyPathList
Link copied to clipboard
Link copied to clipboard
open fun getChangeFlags(): Int
Link copied to clipboard
@Nullable
open fun getCode(): @Nullable String
Return (nullable) The error code returned in the OData error response from the OData backend.
Link copied to clipboard
fun getContentID(): @Nullable String
Link copied to clipboard
@NotNull
open fun getCustomHeaders(): @NotNull List<@NotNull OfflineODataCustomHeader>
Return the navigation property which can be used to list the custom headers attached to this failed request.
Link copied to clipboard
@Nullable
open fun getCustomTag(): @Nullable String
Return (nullable) A customized string that was used to tag the request.
Link copied to clipboard
fun getDataPath(): @Nullable DataPath
Link copied to clipboard
open fun getDataType(): @NotNull DataType
Link copied to clipboard
fun getDataValue(path: @NotNull PropertyPath): @Nullable DataValue
Link copied to clipboard
Link copied to clipboard
fun getDeltaTime(): @Nullable GlobalDateTime
Link copied to clipboard
@NotNull
open fun getDependentRequests(): @NotNull List<@NotNull OfflineODataRequest>
Return the navigation property which can be used to list requests that depend on this failed request.
Link copied to clipboard
@Nullable
open fun getDomain(): @Nullable String
Return (nullable) Internal domain info.
Link copied to clipboard
fun getDynamic(name: @NotNull String): @Nullable DataValue
Link copied to clipboard
fun getDynamicProperties(): @NotNull DataValueMap
Link copied to clipboard
fun getEditLink(): @Nullable String
Link copied to clipboard
fun getEntityID(): @Nullable String
Link copied to clipboard
open fun getEntityKey(): @NotNull EntityKey
Link copied to clipboard
open fun getEntitySet(): @NotNull EntitySet
Link copied to clipboard
open fun getEntityTag(): @Nullable String
Link copied to clipboard
fun getEntityType(): @NotNull EntityType
Link copied to clipboard
@Nullable
open fun getHttpStatusCode(): @Nullable Integer
Return (nullable) The HTTP status code returned from the OData backend.
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun getInnerError(): @Nullable String
Return (nullable) The inner error returned in the OData error response from the OData backend.
Link copied to clipboard
fun getInternalData(): @Nullable Any
Link copied to clipboard
open fun getMediaStream(): @NotNull StreamLink
Link copied to clipboard
@Nullable
open fun getMessage(): @Nullable String
Return (nullable) The error message returned in the OData error response from the OData backend.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getNextLink(path: @NotNull PropertyPath): @Nullable String
Link copied to clipboard
Link copied to clipboard
open fun getOfflineState(): Int
Link copied to clipboard
@NotNull
open fun getOld(): @NotNull OfflineODataErrorArchiveEntity
Link copied to clipboard
open fun getOldEntity(): @Nullable EntityValue
Link copied to clipboard
fun getOldStructure(): @Nullable StructureBase
Link copied to clipboard
fun getOptionalValue(path: @NotNull PropertyPath): @Nullable DataValue
Link copied to clipboard
fun getParentEntity(): @Nullable EntityValue
Link copied to clipboard
fun getParentProperty(): @Nullable Property
Link copied to clipboard
fun getReadLink(): @Nullable String
Link copied to clipboard
@Nullable
open fun getRequestBody(): @Nullable String
Return (nullable) The JSON body sent to the OData backend.
Link copied to clipboard
@Nullable
open fun getRequestEntity(): @Nullable EntityValue
Return (nullable) The navigation property which can be used to directly read and directly modify the failed request in the request queue.
Link copied to clipboard
@Nullable
open fun getRequestID(): @Nullable Long
Return (nullable) The request identifier.
Link copied to clipboard
@Nullable
open fun getRequestMethod(): @Nullable String
Return (nullable) The HTTP method used for the request.
Link copied to clipboard
@Nullable
open fun getRequestURL(): @Nullable String
Return (nullable) The request URL used when executing the request against the OData backend.
Link copied to clipboard
fun getRequiredValue(path: @NotNull PropertyPath): @NotNull DataValue
Link copied to clipboard
open fun getSearchWords(): @NotNull StringList
Link copied to clipboard
fun getStreamLink(property: @NotNull Property): @NotNull StreamLink
Link copied to clipboard
open fun getStructureType(): @NotNull StructureType
Link copied to clipboard
open fun getSystemFlags(): Int
Link copied to clipboard
open fun getSystemKey(): Long
Link copied to clipboard
open fun getTypeCode(): Int
Link copied to clipboard
fun getValuePath(): @Nullable String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hasConflict(): Boolean
Link copied to clipboard
fun hasDataType(type: @NotNull DataType): Boolean
Link copied to clipboard
fun hasDataValue(property: @NotNull Property): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hasError(): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasKey(): Boolean
Link copied to clipboard
open fun hasLocalRelatives(): @Nullable Boolean
Link copied to clipboard
fun hasNextLink(property: @NotNull Property): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun inSet(set: @NotNull EntitySet): @NotNull EntityValue
Link copied to clipboard
open fun isBinding(): Boolean
Link copied to clipboard
open fun isContained(): Boolean
Link copied to clipboard
open fun isCreated(): Boolean
Link copied to clipboard
open fun isDeleted(): Boolean
Link copied to clipboard
open fun isDraft(): Boolean
Link copied to clipboard
open fun isLocal(): Boolean
Link copied to clipboard
open fun isNew(): Boolean
Link copied to clipboard
open fun isNewOrChanged(property: @NotNull Property): Boolean
Link copied to clipboard
open fun isProxy(): Boolean
Link copied to clipboard
open fun isReference(): Boolean
Link copied to clipboard
open fun isResolved(): Boolean
Link copied to clipboard
open fun isResolving(): Boolean
Link copied to clipboard
open fun isUpdated(): Boolean
Link copied to clipboard
open fun isUpsert(): Boolean
Link copied to clipboard
@NotNull
open fun key(@Nullable @Nullable requestID: @Nullable Long): @NotNull EntityKey
Link copied to clipboard
@NotNull
open fun list(@NonNull @NotNull from: @NotNull EntityValueList): @NotNull List<@NotNull OfflineODataErrorArchiveEntity>
Link copied to clipboard
open fun ofType(type: @NotNull EntityType): @NotNull EntityValue
Link copied to clipboard
Link copied to clipboard
open fun resolveDataPath()
Link copied to clipboard
open fun resolveDataPaths()
Link copied to clipboard
open fun setAffectedEntity(@Nullable @Nullable value: @Nullable EntityValue)
Set the navigation property which allows navigating from the failed request to the primary entity.
Link copied to clipboard
open fun setAllowConflicts(value: Boolean)
Link copied to clipboard
fun setAnnotations(value: @NotNull AnnotationMap)
Link copied to clipboard
fun setBackendETag(value: @Nullable String)
Link copied to clipboard
open fun setBinding(value: Boolean)
Link copied to clipboard
fun setCascadePaths(value: @Nullable PropertyPathList)
Link copied to clipboard
open fun setChangedBindings(value: Boolean)
Link copied to clipboard
fun setChangeFlag(flag: Int, value: Boolean)
Link copied to clipboard
open fun setChangeFlags(value: Int)
Link copied to clipboard
open fun setCode(@Nullable @Nullable value: @Nullable String)
Set the error code returned in the OData error response from the OData backend.
Link copied to clipboard
open fun setConflict(value: Boolean)
Link copied to clipboard
open fun setContained(value: Boolean)
Link copied to clipboard
fun setContentID(value: @Nullable String)
Link copied to clipboard
open fun setCreated(value: Boolean)
Link copied to clipboard
open fun setCustomHeaders(@NonNull @NotNull value: @NotNull List<@NotNull OfflineODataCustomHeader>)
Set the navigation property which can be used to list the custom headers attached to this failed request.
Link copied to clipboard
open fun setCustomTag(@Nullable @Nullable value: @Nullable String)
Set a customized string that was used to tag the request.
Link copied to clipboard
fun setDataPath(value: @Nullable DataPath)
Link copied to clipboard
fun setDataValue(property: @NotNull Property, value: @Nullable DataValue)
Link copied to clipboard
open fun setDeepUpdateDelta(value: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setDeleted(value: Boolean)
Link copied to clipboard
fun setDeltaTime(value: @Nullable GlobalDateTime)
Link copied to clipboard
open fun setDependentRequests(@NonNull @NotNull value: @NotNull List<@NotNull OfflineODataRequest>)
Set the navigation property which can be used to list requests that depend on this failed request.
Link copied to clipboard
open fun setDomain(@Nullable @Nullable value: @Nullable String)
Set internal domain info.
Link copied to clipboard
open fun setDraft(value: Boolean)
Link copied to clipboard
fun setDynamic(name: @NotNull String, value: @Nullable DataValue)
Link copied to clipboard
fun setDynamicProperties(value: @NotNull DataValueMap)
Link copied to clipboard
fun setEditLink(value: @Nullable String)
Link copied to clipboard
fun setEntityID(value: @Nullable String)
Link copied to clipboard
open fun setEntitySet(value: @NotNull EntitySet)
Link copied to clipboard
open fun setEntityTag(value: @Nullable String)
Link copied to clipboard
open fun setError(value: Boolean)
Link copied to clipboard
open fun setHttpStatusCode(@Nullable @Nullable value: @Nullable Integer)
Set the HTTP status code returned from the OData backend.
Link copied to clipboard
open fun setInErrorState(value: Boolean)
Link copied to clipboard
open fun setInnerError(@Nullable @Nullable value: @Nullable String)
Set the inner error returned in the OData error response from the OData backend.
Link copied to clipboard
fun setInternalData(value: @Nullable Any)
Link copied to clipboard
open fun setLocal(value: Boolean)
Link copied to clipboard
open fun setLocalRelatives(value: @Nullable Boolean)
Link copied to clipboard
open fun setMediaStream(value: @NotNull StreamLink)
Link copied to clipboard
open fun setMessage(@Nullable @Nullable value: @Nullable String)
Set the error message returned in the OData error response from the OData backend.
Link copied to clipboard
open fun setMustBeModified(value: Boolean)
Link copied to clipboard
open fun setMustBeReloaded(value: Boolean)
Link copied to clipboard
open fun setNew(value: Boolean)
Link copied to clipboard
open fun setNoLocalCascade(value: Boolean)
Link copied to clipboard
open fun setOfflineState(value: Int)
Link copied to clipboard
open fun setOldEntity(value: @Nullable EntityValue)
Link copied to clipboard
fun setOldStructure(value: @Nullable StructureBase)
Link copied to clipboard
fun setOptionalValue(property: @NotNull Property, value: @Nullable DataValue)
Link copied to clipboard
fun setParentEntity(value: @Nullable EntityValue)
Link copied to clipboard
fun setParentProperty(value: @Nullable Property)
Link copied to clipboard
open fun setPendingChanges(value: Boolean)
Link copied to clipboard
fun setReadLink(value: @Nullable String)
Link copied to clipboard
open fun setReference(value: Boolean)
Link copied to clipboard
open fun setRelativesWithPendingChanges(value: @Nullable Boolean)
Link copied to clipboard
open fun setRequestBody(@Nullable @Nullable value: @Nullable String)
Set the JSON body sent to the OData backend.
Link copied to clipboard
open fun setRequestEntity(@Nullable @Nullable value: @Nullable EntityValue)
Set the navigation property which can be used to directly read and directly modify the failed request in the request queue.
Link copied to clipboard
open fun setRequestID(@Nullable @Nullable value: @Nullable Long)
Set the request identifier.
Link copied to clipboard
open fun setRequestMethod(@Nullable @Nullable value: @Nullable String)
Set the HTTP method used for the request.
Link copied to clipboard
open fun setRequestURL(@Nullable @Nullable value: @Nullable String)
Set the request URL used when executing the request against the OData backend.
Link copied to clipboard
fun setRequiredValue(property: @NotNull Property, value: @NotNull DataValue)
Link copied to clipboard
open fun setResolved(value: Boolean)
Link copied to clipboard
open fun setResolving(value: Boolean)
Link copied to clipboard
open fun setSystemFlags(value: Int)
Link copied to clipboard
open fun setSystemKey(value: Long)
Link copied to clipboard
fun setUnsafeValue(property: @NotNull Property, value: @Nullable DataValue)
Link copied to clipboard
open fun setUpdated(value: Boolean)
Link copied to clipboard
open fun setUpsert(value: Boolean)
Link copied to clipboard
fun setValuePath(value: @Nullable String)
Link copied to clipboard
open fun setWasNotModified(value: Boolean)
Link copied to clipboard
open fun takeSnapshot()
Link copied to clipboard
open fun toString(): @NotNull String
Link copied to clipboard
open fun unbindEntity(entity: @Nullable EntityValue, from: @NotNull Property)
Link copied to clipboard
fun unsetDataValue(property: @NotNull Property)
Link copied to clipboard
Link copied to clipboard
open fun withCreate(): @NotNull EntityValue
Link copied to clipboard
open fun withDeepCreate(paths: Array<@NotNull PropertyPath>): @NotNull EntityValue
Link copied to clipboard
open fun withDeepUpdate(paths: Array<@NotNull PropertyPath>): @NotNull EntityValue
Link copied to clipboard
open fun withKey(key: @NotNull EntityKey): @NotNull EntityValue
Link copied to clipboard
fun withLock(work: @NotNull Action0)
Link copied to clipboard
open fun withUpdate(): @NotNull EntityValue
Link copied to clipboard
open fun writeToParcel(out: Parcel, flags: Int)
Internal implementation.