Class Neo4jRealmDAO
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.Neo4jRealmDAO
-
Field Summary
Modifier and TypeFieldDescriptionprotected final javax.cache.Cache
<EntityCacheKey, Neo4jRealm> static final String
protected static final Logger
protected final NodeValidator
protected final ApplicationEventPublisher
protected final RealmSearchDAO
protected final RoleDAO
Fields inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
neo4jClient, neo4jTemplate
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.RealmDAO
NAME_PATTERN, PATH_PATTERN
-
Constructor Summary
ConstructorDescriptionNeo4jRealmDAO
(RoleDAO roleDAO, RealmSearchDAO realmSearchDAO, ApplicationEventPublisher publisher, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jRealm> cache) -
Method Summary
Modifier and TypeMethodDescriptionlong
count()
void
void
deleteById
(String key) boolean
existsById
(String key) findAll()
org.springframework.data.domain.Page
<? extends Realm> findAll
(org.springframework.data.domain.Pageable pageable) findByActionsContaining
(Implementation logicActions) findByPolicy
(T policy) findByResources
(ExternalResource resource) findSamePolicyChildren
(Realm realm, T policy) getRoot()
<S extends Realm>
Ssave
(S realm) Methods inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
cascadeDelete, deleteRelationship, findById, findByRelationship, findByRelationship, toList, toOptional
-
Field Details
-
LOG
-
CACHE
- See Also:
-
roleDAO
-
realmSearchDAO
-
publisher
-
nodeValidator
-
cache
-
-
Constructor Details
-
Neo4jRealmDAO
public Neo4jRealmDAO(RoleDAO roleDAO, RealmSearchDAO realmSearchDAO, ApplicationEventPublisher publisher, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jRealm> cache)
-
-
Method Details
-
getRoot
-
existsById
- Specified by:
existsById
in interfaceDAO<Realm>
-
findById
-
findSamePolicyChildren
-
findByPolicy
- Specified by:
findByPolicy
in interfaceRealmDAO
-
findByActionsContaining
- Specified by:
findByActionsContaining
in interfaceRealmDAO
-
findByResources
- Specified by:
findByResources
in interfaceRealmDAO
-
count
public long count() -
findAll
-
findAll
public org.springframework.data.domain.Page<? extends Realm> findAll(org.springframework.data.domain.Pageable pageable) -
save
-
deleteById
- Specified by:
deleteById
in interfaceDAO<Realm>
-
delete
-