Class ImplementationRepoExtImpl
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.repo.ImplementationRepoExtImpl
- All Implemented Interfaces:
ImplementationRepoExt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final javax.cache.Cache<EntityCacheKey, Neo4jImplementation> protected final EntityCacheDAOprotected final NodeValidatorprotected final ExternalResourceDAOFields inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
LOG, neo4jClient, neo4jTemplateFields inherited from interface org.apache.syncope.core.persistence.neo4j.dao.repo.ImplementationRepoExt
CACHE -
Constructor Summary
ConstructorsConstructorDescriptionImplementationRepoExtImpl(ExternalResourceDAO resourceDAO, EntityCacheDAO entityCacheDAO, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jImplementation> cache) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteById(String key) Optional<? extends Implementation> findByTypeAndKeyword(String type, String keyword) save(Implementation implementation) Methods inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
cascadeDelete, deleteRelationship, findById, findByRelationship, findByRelationship, toList, toOptional
-
Field Details
-
resourceDAO
-
entityCacheDAO
-
nodeValidator
-
cache
-
-
Constructor Details
-
ImplementationRepoExtImpl
public ImplementationRepoExtImpl(ExternalResourceDAO resourceDAO, EntityCacheDAO entityCacheDAO, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jImplementation> cache)
-
-
Method Details
-
findById
- Specified by:
findByIdin interfaceImplementationRepoExt
-
findByTypeAndKeyword
@Transactional(readOnly=true) public List<Implementation> findByTypeAndKeyword(String type, String keyword) - Specified by:
findByTypeAndKeywordin interfaceImplementationRepoExt
-
save
- Specified by:
savein interfaceImplementationRepoExt
-
deleteById
- Specified by:
deleteByIdin interfaceImplementationRepoExt
-