org.archiviststoolkit.mydomain
Class NamesDAO

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

public class NamesDAO
extends DomainAccessObjectImpl


Constructor Summary
NamesDAO()
          Constructor which builds a DAO for this class.
 
Method Summary
 Names lookupName(Names name, boolean create)
           
 Names lookupName(java.lang.String sortName, java.lang.String subUnit, java.lang.String nameType, 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, domainChanged, findAll, findAll, findAllLongSession, findAllLongSession, findByExample, findByNamedQuery, findByNamedQuery, findByPrimaryKey, findByPrimaryKeyLongSession, findByPrimaryKeyLongSessionForPrinting, findByPropertyValue, findByPropertyValues, findByPropertyValuesLongSession, findByQuery, findByQueryEditor, findByUniquePropertyValue, findByUniquePropertyValueLongSession, getCountBasedOnPropertyValue, getLongSession, getPersistentClass, notifyListeners, removeListener, update, updateLongSession, updateLongSession, updateTextField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamesDAO

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

Method Detail

lookupName

public Names lookupName(java.lang.String sortName,
                        java.lang.String subUnit,
                        java.lang.String nameType,
                        boolean create)
                 throws PersistenceException
Throws:
PersistenceException

lookupName

public Names lookupName(Names name,
                        boolean create)
                 throws PersistenceException,
                        UnknownLookupListException
Throws:
PersistenceException
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