public class SqlAuditServiceImpl extends SqlBaseService implements AuditService
MAX_MESSAGE_SIZE
Constructor and Description |
---|
SqlAuditServiceImpl(SqlRepositoryFactory repositoryFactory) |
Modifier and Type | Method and Description |
---|---|
void |
audit(AuditEventRecord record,
Task task) |
protected int |
cleanupAttempt(Class entity,
Date minValue,
org.hibernate.Session session) |
void |
cleanupAudit(CleanupPolicyType policy,
OperationResult parentResult)
Clean up audit records that are older than specified.
|
org.hibernate.SessionFactory |
getSessionFactory() |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
beginTransaction, beginTransaction, cleanup, cleanupSessionAndResult, getConfiguration, getPerformanceMonitor, getPrismContext, getSessionFactoryBean, handleGeneralCheckedException, handleGeneralRuntimeException, logOperationAttempt, rollbackTransaction, rollbackTransaction, rollbackTransaction, setPrismContext
public SqlAuditServiceImpl(SqlRepositoryFactory repositoryFactory)
public org.hibernate.SessionFactory getSessionFactory()
getSessionFactory
in class SqlBaseService
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
setSessionFactory
in class SqlBaseService
public void audit(AuditEventRecord record, Task task)
audit
in interface AuditService
public void cleanupAudit(CleanupPolicyType policy, OperationResult parentResult)
AuditService
cleanupAudit
in interface AuditService
policy
- Records will be deleted base on this policy.protected int cleanupAttempt(Class entity, Date minValue, org.hibernate.Session session)
cleanupAttempt
in class SqlBaseService
Copyright © 2013 evolveum. All rights reserved.