Package com.brightcove.player.store
Class AbstractOfflineVideo
java.lang.Object
com.brightcove.player.store.AbstractOfflineVideo
- All Implemented Interfaces:
IdentifiableEntity<com.brightcove.player.store.OfflineVideo,
,UUID> io.requery.Persistable
@Entity
public abstract class AbstractOfflineVideo
extends Object
implements IdentifiableEntity<com.brightcove.player.store.OfflineVideo,UUID>
Defines the contract of an entity that can be parceled and persisted into a local database with
information related to an video that can be played back offline.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.requery.query.LogicalCondition<? extends io.requery.query.Expression<UUID>,
?> Gets aLogicalCondition
that can be used to match this entity by it's unique identifier.io.requery.query.LogicalCondition<? extends io.requery.query.Expression<UUID>,
?> getIdentityCondition
(UUID key) Gets aLogicalCondition
that can be used to match an entity by it's unique identifier.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.brightcove.player.store.IdentifiableEntity
getKey
-
Constructor Details
-
AbstractOfflineVideo
public AbstractOfflineVideo()
-
-
Method Details
-
getIdentityCondition
public io.requery.query.LogicalCondition<? extends io.requery.query.Expression<UUID>,?> getIdentityCondition(UUID key) Description copied from interface:IdentifiableEntity
Gets aLogicalCondition
that can be used to match an entity by it's unique identifier.- Specified by:
getIdentityCondition
in interfaceIdentifiableEntity<com.brightcove.player.store.OfflineVideo,
UUID> - Parameters:
key
- the unique identifier of the entity.- Returns:
- the logical condition.
-
getIdentityCondition
public io.requery.query.LogicalCondition<? extends io.requery.query.Expression<UUID>,?> getIdentityCondition()Description copied from interface:IdentifiableEntity
Gets aLogicalCondition
that can be used to match this entity by it's unique identifier.- Specified by:
getIdentityCondition
in interfaceIdentifiableEntity<com.brightcove.player.store.OfflineVideo,
UUID> - Returns:
- the logical condition.
-