-
- All Implemented Interfaces:
-
com.brightcove.player.network.IDownloadManager.IRequest
,com.brightcove.player.store.IdentifiableEntity
,io.requery.Persistable
@Entity() public abstract class AbstractDownloadRequest implements IDownloadManager.IRequest, IdentifiableEntity<DownloadRequest, Long>
Defines the contract of an entity that can be parceled and persisted into a local database with information related to download request.
-
-
Method Summary
Modifier and Type Method Description void
onBeforeInsert()
Sets the create time before the inserting the entity into the database table. long
getModifiedTime()
Gets the date and time when the request was modified as number of milliseconds sinceJanuary 1, 1970, 00:00:00 GMT. LogicalCondition<out Expression<Long>, out Object>
getIdentityCondition(Long key)
LogicalCondition<out Expression<Long>, out Object>
getIdentityCondition()
-
Methods inherited from class com.brightcove.player.network.IDownloadManager.IRequest
getDescription, getEstimatedSize, getHeaders, getLocalUri, getMimeType, getNotificationVisibility, getRemoteUri, getTitle, isAllowScanningByMediaScanner, isAllowedOverBluetooth, isAllowedOverMetered, isAllowedOverMobile, isAllowedOverRoaming, isAllowedOverWifi, isVisibleInDownloadsUi
-
Methods inherited from class com.brightcove.player.store.IdentifiableEntity
getIdentityCondition, getKey
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onBeforeInsert
@PreInsert() void onBeforeInsert()
Sets the create time before the inserting the entity into the database table.
-
getModifiedTime
long getModifiedTime()
Gets the date and time when the request was modified as number of milliseconds sinceJanuary 1, 1970, 00:00:00 GMT.
-
getIdentityCondition
LogicalCondition<out Expression<Long>, out Object> getIdentityCondition(Long key)
-
getIdentityCondition
LogicalCondition<out Expression<Long>, out Object> getIdentityCondition()
-
-
-
-