public interface

ConceptDAO

implements DAO
vars.knowledgebase.ConceptDAO
Known Indirect Subclasses

Class Overview

Created by IntelliJ IDEA. User: brian Date: Aug 7, 2009 Time: 2:59:37 PM To change this template use File | Settings | File Templates.

Summary

Public Methods
abstract void cascadeRemove(Concept concept)
May need to bring all lazy loaded children into the transaction in order to delete them.
abstract Collection<Concept> findAll()
abstract List<Concept> findAllByNameContaining(String nameGlob)
abstract List<Concept> findAllByNameEndingWith(String nameGlob)
abstract List<Concept> findAllByNameStartingWith(String nameGlob)
abstract Concept findByName(String name)
abstract Collection<ConceptName> findDescendentNames(Concept concept)
Lookup all @{link ConceptName}s objects that are associated with this Concept and its children
abstract Collection<Concept> findDescendents(Concept concept)
Get a Collection of Concept objects from the specifed name on down to the end of the branches that starts at the concept with the specifiec name
abstract Concept findRoot()
[Expand]
Inherited Methods
From interface vars.DAO

Public Methods

public abstract void cascadeRemove (Concept concept)

May need to bring all lazy loaded children into the transaction in order to delete them. If you need to remove a concept use this method (unless you've put a casacade delete trigger on your database)

public abstract Collection<Concept> findAll ()

public abstract List<Concept> findAllByNameContaining (String nameGlob)

public abstract List<Concept> findAllByNameEndingWith (String nameGlob)

public abstract List<Concept> findAllByNameStartingWith (String nameGlob)

public abstract Concept findByName (String name)

public abstract Collection<ConceptName> findDescendentNames (Concept concept)

Lookup all @{link ConceptName}s objects that are associated with this Concept and its children

Parameters
concept The concept whos descendant names are returne

public abstract Collection<Concept> findDescendents (Concept concept)

Get a Collection of Concept objects from the specifed name on down to the end of the branches that starts at the concept with the specifiec name

Parameters
concept The name of the concept
Returns
  • A Set of Concept objects from the named one to the end of the branch.

public abstract Concept findRoot ()