Class AuditTrailDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<AuditTrail>
-
- ubic.gemma.persistence.service.common.auditAndSecurity.AuditTrailDaoImpl
-
- All Implemented Interfaces:
BaseDao<AuditTrail>
,AuditTrailDao
@Repository public class AuditTrailDaoImpl extends AbstractDao<AuditTrail> implements AuditTrailDao
- Author:
- pavlidis
- See Also:
AuditTrailDao
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Constructor Description AuditTrailDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
removeByIds(Collection<Long> ids)
Remove the given audit trails by IDs.-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, find, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
-
-
-
Constructor Detail
-
AuditTrailDaoImpl
@Autowired public AuditTrailDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
removeByIds
public int removeByIds(Collection<Long> ids)
Description copied from interface:AuditTrailDao
Remove the given audit trails by IDs.This is more efficient than using
BaseDao.remove(Collection)
because batch operations are performed without retrieving entities.- Specified by:
removeByIds
in interfaceAuditTrailDao
- Returns:
- number of entities removed
-
-