Class Neo4jAuditEventDAO
java.lang.Object
org.apache.syncope.core.persistence.common.dao.AbstractAuditEventDAO
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 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, Set<String> username, Set<String> who, 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, Set<String> username, Set<String> who, 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 org.apache.syncope.core.persistence.common.dao.AbstractAuditEventDAO
filterOrderByMethods 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
-
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, Set<String> username, Set<String> who, 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, Set<String> username, Set<String> who, 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
-