org.archiviststoolkit.mydomain
Class SubjectsDAO

java.lang.Object
  extended by org.archiviststoolkit.mydomain.DomainAccessObjectImpl
      extended by org.archiviststoolkit.mydomain.SubjectsDAO
All Implemented Interfaces:
java.util.EventListener, DomainAccessListener, DomainAccessObject

public class SubjectsDAO
extends DomainAccessObjectImpl


Constructor Summary
SubjectsDAO()
          Constructor which builds a DAO for this class.
 
Method Summary
 Subjects lookupSubject(java.lang.String subjectValue, java.lang.String subjectTermType, java.lang.String subjectSource, boolean create)
           
 int merge(java.util.Collection<DomainObject> mergeFrom, DomainObject mergeTo, InfiniteProgressPanel progressPanel)
           
 
Methods inherited from class org.archiviststoolkit.mydomain.DomainAccessObjectImpl
add, addGroup, addListener, closeLongSession, closeLongSessionRollback, delete, deleteById, deleteGroup, deleteLongSession, deleteLongSession, domainChanged, findAll, findAll, findAllLongSession, findAllLongSession, findByExample, findByNamedQuery, findByNamedQuery, findByPrimaryKey, findByPrimaryKeyLongSession, findByPrimaryKeyLongSessionForPrinting, findByPropertyValue, findByPropertyValues, findByPropertyValuesLongSession, findByQuery, findByQueryEditor, findByUniquePropertyValue, findByUniquePropertyValueLongSession, getCountBasedOnPropertyValue, getHumanReadableSearchString, getLongSession, getPersistentClass, notifyListeners, removeListener, setHumanReadableSearchString, update, updateLongSession, updateLongSession, updateTextField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubjectsDAO

public SubjectsDAO()
Constructor which builds a DAO for this class.

Method Detail

lookupSubject

public Subjects lookupSubject(java.lang.String subjectValue,
                              java.lang.String subjectTermType,
                              java.lang.String subjectSource,
                              boolean create)
                       throws PersistenceException,
                              ValidationException,
                              UnknownLookupListException
Throws:
PersistenceException
ValidationException
UnknownLookupListException

merge

public int merge(java.util.Collection<DomainObject> mergeFrom,
                 DomainObject mergeTo,
                 InfiniteProgressPanel progressPanel)
          throws MergeException
Specified by:
merge in interface DomainAccessObject
Overrides:
merge in class DomainAccessObjectImpl
Throws:
MergeException