eu.etaxonomy.cdm.persistence.dao.hibernate.common
Class OriginalSourceDaoImpl
java.lang.Object
eu.etaxonomy.cdm.persistence.dao.hibernate.common.DaoBase
eu.etaxonomy.cdm.persistence.dao.hibernate.common.CdmEntityDaoBase<OriginalSourceBase>
eu.etaxonomy.cdm.persistence.dao.hibernate.common.OriginalSourceDaoImpl
- All Implemented Interfaces:
- ICdmEntityDao<OriginalSourceBase>, IOriginalSourceDao
@Repository
public class OriginalSourceDaoImpl
- extends CdmEntityDaoBase<OriginalSourceBase>
- implements IOriginalSourceDao
- Version:
- 1.0
- Author:
- a.mueller
| Methods inherited from class eu.etaxonomy.cdm.persistence.dao.hibernate.common.CdmEntityDaoBase |
addCriteria, addExample, addGroups, addOrder, clear, count, count, count, countByParam, countGroups, delete, exists, findById, findByParam, findByUuid, getSession, getType, group, list, list, list, list, list, list, list, list, listByIds, load, load, load, lock, merge, refresh, refresh, replace, rows, save, saveAll, saveCdmObj, saveOrUpdate, saveOrUpdateAll, setDefaultBeanInitializer, setPagingParameter, setPagingParameter, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.etaxonomy.cdm.persistence.dao.common.ICdmEntityDao |
clear, count, count, count, delete, exists, findById, findByUuid, flush, getSession, getType, group, list, list, list, list, list, list, list, listByIds, load, load, load, lock, merge, refresh, refresh, replace, rows, save, saveAll, saveOrUpdate, saveOrUpdateAll, update |
OriginalSourceDaoImpl
public OriginalSourceDaoImpl()
findOriginalSourcesByIdInSource
public Map<String,ISourceable> findOriginalSourcesByIdInSource(Class clazz,
Set<String> idInSourceSet,
String idNamespace)
- Description copied from interface:
IOriginalSourceDao
- Returns a map of identifiable entities of class
clazz which have an original source of
with namespace idNamespace and with an idInSource in idInSourceList
The key of the map is the idInSource. If there are multiple objects that have the same id an arbitrary one is chosen.
- Specified by:
findOriginalSourcesByIdInSource in interface IOriginalSourceDao
- Returns:
findOriginalSourceByIdInSource
public List<IdentifiableEntity> findOriginalSourceByIdInSource(Class clazz,
String idInSource,
String idNamespace)
- Description copied from interface:
IOriginalSourceDao
- Returns a list of identifiable entities according to their class, idInSource and idNamespace
- Specified by:
findOriginalSourceByIdInSource in interface IOriginalSourceDao
- Returns:
findOriginalSourceByIdInSource
public List<OriginalSourceBase> findOriginalSourceByIdInSource(String idInSource,
String idNamespace)
- Description copied from interface:
IOriginalSourceDao
- Returns the first OriginalSource with according idInSource and idNamespace
- Specified by:
findOriginalSourceByIdInSource in interface IOriginalSourceDao
- Returns:
Copyright © 2007-2013 EDIT. All Rights Reserved.