Class DelegationRepoExtImpl
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.repo.DelegationRepoExtImpl
- All Implemented Interfaces:
DelegationRepoExt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final javax.cache.Cache<EntityCacheKey, Neo4jDelegation> protected final NodeValidatorFields 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.DelegationRepoExt
CACHE -
Constructor Summary
ConstructorsConstructorDescriptionDelegationRepoExtImpl(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jDelegation> cache) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(Delegation delegation) voiddeleteById(String key) findByDelegated(User user) findByDelegating(User user) Optional<? extends Delegation> findByRoles(Role role) save(Delegation delegation) Methods inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
cascadeDelete, deleteRelationship, findById, findByRelationship, findByRelationship, toList, toOptional
-
Field Details
-
nodeValidator
-
cache
-
-
Constructor Details
-
DelegationRepoExtImpl
public DelegationRepoExtImpl(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jDelegation> cache)
-
-
Method Details
-
findById
- Specified by:
findByIdin interfaceDelegationRepoExt
-
findByDelegating
- Specified by:
findByDelegatingin interfaceDelegationRepoExt
-
findByDelegated
- Specified by:
findByDelegatedin interfaceDelegationRepoExt
-
findByRoles
- Specified by:
findByRolesin interfaceDelegationRepoExt
-
save
- Specified by:
savein interfaceDelegationRepoExt
-
delete
- Specified by:
deletein interfaceDelegationRepoExt
-
deleteById
- Specified by:
deleteByIdin interfaceDelegationRepoExt
-