public class AuditDAOImpl extends AbstractAuditDAOImpl
AbstractAuditDAOImpl.AuditQueryRowHandler
AuditDAO.AuditApplicationInfo
logger, propertyValueDAO
Constructor and Description |
---|
AuditDAOImpl() |
Modifier and Type | Method and Description |
---|---|
protected AuditApplicationEntity |
createAuditApplication(Long appNameId,
Long modelId,
Long disabledPathsId) |
protected AuditEntryEntity |
createAuditEntry(Long applicationId,
long time,
Long usernameId,
Long valuesId) |
protected AuditModelEntity |
createAuditModel(Long contentDataId,
long crc) |
int |
deleteAuditEntries(Long applicationId,
Long from,
Long to)
Delete audit entries for the application, possibly limiting the time range.
|
protected int |
deleteAuditEntriesImpl(List<Long> auditEntryIds) |
protected void |
findAuditEntries(AbstractAuditDAOImpl.AuditQueryRowHandler rowHandler,
boolean forward,
String appName,
String user,
Long fromId,
Long toId,
Long fromTime,
Long toTime,
int maxResults,
String searchKey,
Serializable searchValue) |
protected AuditApplicationEntity |
getAuditApplicationById(Long id) |
protected AuditApplicationEntity |
getAuditApplicationByName(String appName) |
protected AuditModelEntity |
getAuditModelByCrc(long crc) |
void |
setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate) |
protected AuditApplicationEntity |
updateAuditApplication(AuditApplicationEntity entity) |
createAuditApplication, createAuditEntry, deleteAuditEntries, findAuditEntries, getAuditApplication, getOrCreateAuditModel, getPropertyValueDAO, setContentDataDAO, setContentService, setPropertyValueDAO, updateAuditApplicationDisabledPaths, updateAuditApplicationModel
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
protected AuditModelEntity getAuditModelByCrc(long crc)
getAuditModelByCrc
in class AbstractAuditDAOImpl
protected AuditModelEntity createAuditModel(Long contentDataId, long crc)
createAuditModel
in class AbstractAuditDAOImpl
protected AuditApplicationEntity getAuditApplicationById(Long id)
getAuditApplicationById
in class AbstractAuditDAOImpl
protected AuditApplicationEntity getAuditApplicationByName(String appName)
getAuditApplicationByName
in class AbstractAuditDAOImpl
protected AuditApplicationEntity createAuditApplication(Long appNameId, Long modelId, Long disabledPathsId)
createAuditApplication
in class AbstractAuditDAOImpl
protected AuditApplicationEntity updateAuditApplication(AuditApplicationEntity entity)
updateAuditApplication
in class AbstractAuditDAOImpl
public int deleteAuditEntries(Long applicationId, Long from, Long to)
AuditDAO
applicationId
- and existing audit application IDfrom
- the minimum entry time (inclusive, optional)to
- the maximum entry time (exclusive, optional)protected int deleteAuditEntriesImpl(List<Long> auditEntryIds)
deleteAuditEntriesImpl
in class AbstractAuditDAOImpl
protected AuditEntryEntity createAuditEntry(Long applicationId, long time, Long usernameId, Long valuesId)
createAuditEntry
in class AbstractAuditDAOImpl
protected void findAuditEntries(AbstractAuditDAOImpl.AuditQueryRowHandler rowHandler, boolean forward, String appName, String user, Long fromId, Long toId, Long fromTime, Long toTime, int maxResults, String searchKey, Serializable searchValue)
findAuditEntries
in class AbstractAuditDAOImpl
Copyright © 2005–2017 Alfresco Software. All rights reserved.