Class Neo4jAuditEventDAO
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.Neo4jAuditEventDAO
- All Implemented Interfaces:
AuditEventDAO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Loggerprotected final org.springframework.data.neo4j.core.Neo4jClientprotected final org.springframework.data.neo4j.core.Neo4jTemplateprotected final NodeValidator -
Constructor Summary
ConstructorsConstructorDescriptionNeo4jAuditEventDAO(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator) -
Method Summary
Modifier and TypeMethodDescriptionlongcount(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, waitMethods 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:
savein 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:
countin 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:
searchin interfaceAuditEventDAO
-