public interface

AnnotationPersistenceService

vars.annotation.AnnotationPersistenceService
Known Indirect Subclasses

Class Overview

DAO used by the Annotation application for special operations

Summary

Public Methods
abstract List<String> findAllPlatformNames()
Find all platforms that were used in the annotations database.
abstract Collection<String> findAllReferenceNumbers(VideoArchiveSet videoArchiveSet, Concept concept)
abstract List<String> findAllVideoArchiveNames()
abstract Concept findConceptByName(String name)
Provides a quick lookup of a concept by name.
abstract List<String> findDescendantNamesFor(Concept concept)
Find Descendant Names as a sorted List of Strings
abstract Date findEarliestAnnotationDate()
abstract Date findLatestAnnotationDate()
Find the recorded date (from VideoFrame) of the latest annotation made in the VARS database
abstract Collection<LinkTemplate> findLinkTemplatesFor(Concept concept)
abstract Concept findRootConcept()
abstract ConceptDAO getReadOnlyConceptDAO()
Retrieve the underlying ConceptDAO used.
abstract void updateConceptNameUsedByAnnotations(Concept concept)

Public Methods

public abstract List<String> findAllPlatformNames ()

Find all platforms that were used in the annotations database.

Returns
  • A List of each distinct platform found in the VideoArchiveSet table.

public abstract Collection<String> findAllReferenceNumbers (VideoArchiveSet videoArchiveSet, Concept concept)

public abstract List<String> findAllVideoArchiveNames ()

public abstract Concept findConceptByName (String name)

Provides a quick lookup of a concept by name. This is an optimized routine that only returns concepts you intend to read. Modifiying concepts in the annotation ui could cause Persistence Exceptions since no effort is being made to hang on to the reference of modified concepts

public abstract List<String> findDescendantNamesFor (Concept concept)

Find Descendant Names as a sorted List of Strings

public abstract Date findEarliestAnnotationDate ()

public abstract Date findLatestAnnotationDate ()

Find the recorded date (from VideoFrame) of the latest annotation made in the VARS database

Returns
  • The date of the latest annotation

public abstract Collection<LinkTemplate> findLinkTemplatesFor (Concept concept)

public abstract Concept findRootConcept ()

public abstract ConceptDAO getReadOnlyConceptDAO ()

Retrieve the underlying ConceptDAO used.

public abstract void updateConceptNameUsedByAnnotations (Concept concept)