vars.annotation.VideoArchiveSetDAO |
Known Indirect Subclasses
|
Class Overview
Created by IntelliJ IDEA.
User: brian
Date: Aug 7, 2009
Time: 2:52:32 PM
To change this template use File | Settings | File Templates.
Summary
[Expand]
Inherited Methods |
From interface
vars.DAO
abstract
void
|
close()
|
abstract
void
|
commit()
|
abstract
void
|
endTransaction()
|
abstract
boolean
|
equalInDatastore(Object thisObj, Object thatObj)
True if the to objects represent the same object in the datastore.
|
abstract
<T>
T
|
find(T object)
Retrieves the object from the datastore.
|
abstract
List
|
findByNamedQuery(String name)
Executes a named query that does not take any parameters
|
abstract
List
|
findByNamedQuery(String name, Map<String, Object> namedParameters)
Executes a named query using a map of named parameters
|
abstract
<T>
T
|
findByPrimaryKey(Class<T> clazz, Object primaryKey)
|
abstract
EntityManager
|
getEntityManager()
|
abstract
boolean
|
isPersistent(Object entity)
Checks to see if the given object is persisted in the databas
|
abstract
void
|
loadLazyRelations(Object entity)
Many one-to-many relations are lazy loaded in JPA.
|
abstract
<T>
T
|
merge(T object)
|
abstract
void
|
persist(Object object)
|
abstract
void
|
remove(Object object)
|
abstract
void
|
startTransaction()
|
|
Public Methods
public
abstract
Collection<VideoArchiveSet>
findAllBetweenDates
(Date startDate, Date endDate)
public
abstract
Collection<VideoArchiveSet>
findAllByPlatform
(String platform)
public
abstract
Collection<VideoArchiveSet>
findAllByPlatformAndSequenceNumber
(String platform, int sequenceNumber)
public
abstract
Collection<VideoArchiveSet>
findAllByPlatformAndTrackingNumber
(String platform, String trackingNumber)
public
abstract
Collection<VideoArchiveSet>
findAllByTrackingNumber
(String trackingNumber)
public
abstract
Set<String>
findAllLinkValues
(VideoArchiveSet videoArchiveSet, String linkName)
public
abstract
Set<String>
findAllLinkValues
(VideoArchiveSet videoArchiveSet, String linkName, Concept concept)
public
abstract
Set<Integer>
findAllSequenceNumbersByPlatformName
(String platformName)
Find all sequence numbers (e.g. dive numbers) available for a particular platform
Parameters
platformName
| The platform of interest |
Returns
- A set of all dive numbers in the database for a given platform. An empty set is returned
if no numbers are found.
public
abstract
Collection<VideoArchiveSet>
findAllThatDuplicatePlatformAndSequenceNumber
()
Find all videoarchivesets that duplicate platform and sequence numbers
public
abstract
Collection<VideoArchiveSet>
findAllWithMissingCameraDeployments
()
Looks up all VideoArchiveSets that do not havea cameradeployment associated with them
public
abstract
Collection<VideoArchiveSet>
findAllWithMultipleCameraDeployments
()
public
abstract
Collection<VideoArchiveSet>
findAllWithoutDates
()
Look up VideoArchiveSets without startDate or endDate values
public
abstract
Collection<VideoArchiveSet>
findAllWithoutTrackingNumber
()
public
abstract
Integer
findVideoFrameCountByPrimaryKey
(Object primaryKey)
Supposed to be a fast lookup of videoframe count in the database.
Parameters
primaryKey
| The VideoArchiveSets primary key |
Returns
- A count of videoframes contained by this videoarchiveset