Class HibernateAuditRecordDao
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
-
- com.atlassian.confluence.internal.audit.persistence.dao.hibernate.HibernateAuditRecordDao
-
- All Implemented Interfaces:
ObjectDao
,AuditRecordDao
,ObjectDaoInternal
,org.springframework.beans.factory.InitializingBean
@Deprecated public class HibernateAuditRecordDao extends HibernateObjectDao implements AuditRecordDao
Deprecated.since 7.5.0. Audit records should be persisted via atlassian-audit-plugin- Since:
- 5.10
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
HibernateObjectDao.Cacheability
-
-
Constructor Summary
Constructors Constructor Description HibernateAuditRecordDao()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
cleanOldRecords(Instant before)
Deprecated.void
deleteRecords(Collection<AuditRecordEntity> recordEntities)
Deprecated.Delete specified audit recordsList<Long>
fetchAllRecordIds()
Deprecated.Fetch Ids of all audit recordsList<AuditRecordEntity>
fetchByIds(List<Long> ids)
Deprecated.Fetch all audit records with specified IdsClass
getPersistentClass()
Deprecated.Gets the type ofEntityObject
this Dao works with.PageResponse<AuditRecordEntity>
getRecords(LimitedRequest request, Instant startDate, Instant endDate, boolean includeSysAdmin, String searchString)
Deprecated.void
storeRecord(AuditRecordEntity auditRecordEntity)
Deprecated.-
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setEventPublisher, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult, updateEntityModificationData, updateModificationData
-
-
-
-
Method Detail
-
storeRecord
public void storeRecord(AuditRecordEntity auditRecordEntity)
Deprecated.- Specified by:
storeRecord
in interfaceAuditRecordDao
-
getRecords
public PageResponse<AuditRecordEntity> getRecords(LimitedRequest request, Instant startDate, Instant endDate, boolean includeSysAdmin, String searchString)
Deprecated.- Specified by:
getRecords
in interfaceAuditRecordDao
-
fetchAllRecordIds
public List<Long> fetchAllRecordIds()
Deprecated.Description copied from interface:AuditRecordDao
Fetch Ids of all audit records- Specified by:
fetchAllRecordIds
in interfaceAuditRecordDao
-
fetchByIds
public List<AuditRecordEntity> fetchByIds(List<Long> ids)
Deprecated.Description copied from interface:AuditRecordDao
Fetch all audit records with specified Ids- Specified by:
fetchByIds
in interfaceAuditRecordDao
- Parameters:
ids
- Ids of records to be fetched
-
deleteRecords
public void deleteRecords(Collection<AuditRecordEntity> recordEntities)
Deprecated.Description copied from interface:AuditRecordDao
Delete specified audit records- Specified by:
deleteRecords
in interfaceAuditRecordDao
- Parameters:
recordEntities
- Audit records to be deleted
-
cleanOldRecords
public void cleanOldRecords(Instant before)
Deprecated.- Specified by:
cleanOldRecords
in interfaceAuditRecordDao
-
getPersistentClass
public Class getPersistentClass()
Deprecated.Description copied from interface:ObjectDaoInternal
Gets the type ofEntityObject
this Dao works with.- Specified by:
getPersistentClass
in interfaceObjectDao
- Specified by:
getPersistentClass
in interfaceObjectDaoInternal
- Returns:
- the type
-
-