Class JPAAuditEventDAO
java.lang.Object
org.apache.syncope.core.persistence.jpa.dao.JPAAuditEventDAO
- All Implemented Interfaces:
AuditEventDAO
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
count
(String entityKey, OpEvent.CategoryType type, String category, String subcategory, String op, OpEvent.Outcome outcome, OffsetDateTime before, OffsetDateTime after) criteriaBuilder
(String entityKey) protected void
fillWithParameters
(Query query, List<Object> parameters) save
(AuditEvent auditEvent) search
(String entityKey, OpEvent.CategoryType type, String category, String subcategory, String op, OpEvent.Outcome outcome, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.syncope.core.persistence.api.dao.AuditEventDAO
toAuditEventTO
-
Field Details
-
entityManager
-
-
Constructor Details
-
JPAAuditEventDAO
-
-
Method Details
-
save
- Specified by:
save
in interfaceAuditEventDAO
-
criteriaBuilder
-
fillWithParameters
-
count
@Transactional(readOnly=true) public long count(String entityKey, OpEvent.CategoryType type, String category, String subcategory, String op, OpEvent.Outcome outcome, OffsetDateTime before, OffsetDateTime after) - Specified by:
count
in interfaceAuditEventDAO
-
search
@Transactional(readOnly=true) public List<AuditEventTO> search(String entityKey, OpEvent.CategoryType type, String category, String subcategory, String op, OpEvent.Outcome outcome, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) - Specified by:
search
in interfaceAuditEventDAO
-