Class ReportExecRepoExtImpl
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.repo.ReportExecRepoExtImpl
- All Implemented Interfaces:
ReportExecRepoExt
-
Field Summary
FieldsFields inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
LOG, neo4jClient, neo4jTemplate -
Constructor Summary
ConstructorsConstructorDescriptionReportExecRepoExtImpl(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator) -
Method Summary
Modifier and TypeMethodDescriptionlongcount(Report report, OffsetDateTime before, OffsetDateTime after) voiddelete(ReportExec execution) voiddeleteById(String key) findAll(Report report, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) protected ReportExecfindLatest(Report report, String field) findLatestEnded(Report report) findLatestStarted(Report report) findRecent(int max) protected StringBuilderquery(Report report, OffsetDateTime before, OffsetDateTime after, Map<String, Object> parameters) protected StringtoOrderByStatement(Stream<org.springframework.data.domain.Sort.Order> orderByClauses) Methods inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
cascadeDelete, deleteRelationship, findById, findByRelationship, findByRelationship, toList, toOptional
-
Field Details
-
nodeValidator
-
-
Constructor Details
-
ReportExecRepoExtImpl
public ReportExecRepoExtImpl(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator)
-
-
Method Details
-
findRecent
- Specified by:
findRecentin interfaceReportExecRepoExt
-
findLatest
-
findLatestStarted
- Specified by:
findLatestStartedin interfaceReportExecRepoExt
-
findLatestEnded
- Specified by:
findLatestEndedin interfaceReportExecRepoExt
-
query
protected StringBuilder query(Report report, OffsetDateTime before, OffsetDateTime after, Map<String, Object> parameters) -
count
- Specified by:
countin interfaceReportExecRepoExt
-
toOrderByStatement
-
findAll
public List<ReportExec> findAll(Report report, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) - Specified by:
findAllin interfaceReportExecRepoExt
-
deleteById
- Specified by:
deleteByIdin interfaceReportExecRepoExt
-
delete
- Specified by:
deletein interfaceReportExecRepoExt
-