Class Neo4jJobStatusDAO
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.Neo4jJobStatusDAO
- All Implemented Interfaces:
DAO<JobStatus>
,JobStatusDAO
@Transactional(rollbackFor=java.lang.Throwable.class)
public class Neo4jJobStatusDAO
extends Object
implements JobStatusDAO
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Logger
protected final org.springframework.data.neo4j.core.Neo4jTemplate
protected final NodeValidator
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
DEFAULT_SORT
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.JobStatusDAO
JOB_FIRED_STATUS
-
Constructor Summary
ConstructorDescriptionNeo4jJobStatusDAO
(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, NodeValidator nodeValidator) -
Method Summary
Modifier and TypeMethodDescriptionlong
count()
void
void
deleteById
(String key) boolean
existsById
(String key) findAll()
boolean
<S extends JobStatus>
Ssave
(S jobStatus) void
-
Field Details
-
LOG
-
neo4jTemplate
protected final org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate -
nodeValidator
-
-
Constructor Details
-
Neo4jJobStatusDAO
public Neo4jJobStatusDAO(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, NodeValidator nodeValidator)
-
-
Method Details
-
existsById
- Specified by:
existsById
in interfaceDAO<JobStatus>
-
findById
-
count
-
findAll
-
save
-
delete
-
deleteById
- Specified by:
deleteById
in interfaceDAO<JobStatus>
-
lock
- Specified by:
lock
in interfaceJobStatusDAO
-
unlock
- Specified by:
unlock
in interfaceJobStatusDAO
-