Class Neo4jRealmSearchDAO
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.Neo4jRealmSearchDAO
- All Implemented Interfaces:
RealmSearchDAO
-
Field Summary
FieldsFields inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
LOG, neo4jClient, neo4jTemplate
-
Constructor Summary
ConstructorsConstructorDescriptionNeo4jRealmSearchDAO
(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, javax.cache.Cache<EntityCacheKey, Neo4jRealm> cache) -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringBuilder
long
countDescendants
(String base, String keyword) long
countDescendants
(Set<String> bases, String keyword) findByFullPath
(String fullPath) findByName
(String name) findChildren
(Realm realm) findDescendants
(String base, String prefix) findDescendants
(String base, String keyword, org.springframework.data.domain.Pageable pageable) findDescendants
(Set<String> bases, String keyword, org.springframework.data.domain.Pageable pageable) Methods inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
cascadeDelete, deleteRelationship, findById, findByRelationship, findByRelationship, toList, toOptional
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.syncope.core.persistence.api.dao.RealmSearchDAO
findAncestors, findAncestors
-
Field Details
-
cache
-
-
Constructor Details
-
Neo4jRealmSearchDAO
public Neo4jRealmSearchDAO(org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, javax.cache.Cache<EntityCacheKey, Neo4jRealm> cache)
-
-
Method Details
-
buildDescendantsQuery
-
findByFullPath
- Specified by:
findByFullPath
in interfaceRealmSearchDAO
-
findByName
- Specified by:
findByName
in interfaceRealmSearchDAO
-
findChildren
- Specified by:
findChildren
in interfaceRealmSearchDAO
-
countDescendants
- Specified by:
countDescendants
in interfaceRealmSearchDAO
-
countDescendants
- Specified by:
countDescendants
in interfaceRealmSearchDAO
-
findDescendants
public List<Realm> findDescendants(String base, String keyword, org.springframework.data.domain.Pageable pageable) - Specified by:
findDescendants
in interfaceRealmSearchDAO
-
findDescendants
public List<Realm> findDescendants(Set<String> bases, String keyword, org.springframework.data.domain.Pageable pageable) - Specified by:
findDescendants
in interfaceRealmSearchDAO
-
findDescendants
- Specified by:
findDescendants
in interfaceRealmSearchDAO
-