Class Neo4jAuditEventDAO
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.Neo4jAuditEventDAO
- All Implemented Interfaces:
AuditEventDAO
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Logger
protected final org.springframework.data.neo4j.core.Neo4jClient
protected final org.springframework.data.neo4j.core.Neo4jTemplate
protected final NodeValidator
-
Constructor Summary
ConstructorDescriptionNeo4jAuditEventDAO
(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator) -
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) 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
-
LOG
-
neo4jTemplate
protected final org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate -
neo4jClient
protected final org.springframework.data.neo4j.core.Neo4jClient neo4jClient -
nodeValidator
-
-
Constructor Details
-
Neo4jAuditEventDAO
public Neo4jAuditEventDAO(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator)
-
-
Method Details
-
save
- Specified by:
save
in interfaceAuditEventDAO
-
criteriaBuilder
-
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
-