@Entity public abstract class AbstractDownloadRequest extends java.lang.Object implements IDownloadManager.IRequest, IdentifiableEntity<com.brightcove.player.store.DownloadRequest,java.lang.Long>
IDownloadManager.IRequest.Visibility
Constructor and Description |
---|
AbstractDownloadRequest() |
Modifier and Type | Method and Description |
---|---|
io.requery.query.LogicalCondition<? extends io.requery.query.Expression<java.lang.Long>,?> |
getIdentityCondition()
Gets a
LogicalCondition that can be used to match this entity by it's unique identifier. |
io.requery.query.LogicalCondition<? extends io.requery.query.Expression<java.lang.Long>,?> |
getIdentityCondition(java.lang.Long key)
Gets a
LogicalCondition that can be used to match an entity by it's unique identifier. |
long |
getModifiedTime()
Gets the date and time when the request was modified as number of milliseconds since
January 1, 1970, 00:00:00 GMT.
|
void |
onBeforeInsert()
Sets the create time before the inserting the entity into the database table.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getEstimatedSize, getHeaders, getLocalUri, getMimeType, getNotificationVisibility, getRemoteUri, getTitle, isAllowedOverBluetooth, isAllowedOverMetered, isAllowedOverMobile, isAllowedOverRoaming, isAllowedOverWifi, isAllowScanningByMediaScanner, isVisibleInDownloadsUi
getKey
@PreInsert public void onBeforeInsert()
public long getModifiedTime()
public io.requery.query.LogicalCondition<? extends io.requery.query.Expression<java.lang.Long>,?> getIdentityCondition(java.lang.Long key)
IdentifiableEntity
LogicalCondition
that can be used to match an entity by it's unique identifier.getIdentityCondition
in interface IdentifiableEntity<com.brightcove.player.store.DownloadRequest,java.lang.Long>
key
- the unique identifier of the entity.public io.requery.query.LogicalCondition<? extends io.requery.query.Expression<java.lang.Long>,?> getIdentityCondition()
IdentifiableEntity
LogicalCondition
that can be used to match this entity by it's unique identifier.getIdentityCondition
in interface IdentifiableEntity<com.brightcove.player.store.DownloadRequest,java.lang.Long>