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
Modifier and TypeFieldDescriptionprotected final javax.cache.Cache
<EntityCacheKey, Neo4jRealm> protected static final Logger
Fields inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
neo4jClient, neo4jTemplate
-
Constructor Summary
ConstructorDescriptionNeo4jRealmSearchDAO
(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) 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) 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
-
LOG
-
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
-
buildDescendantQuery
-
findByFullPath
- Specified by:
findByFullPath
in interfaceRealmSearchDAO
-
findByName
- Specified by:
findByName
in interfaceRealmSearchDAO
-
findChildren
- Specified by:
findChildren
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
- Specified by:
findDescendants
in interfaceRealmSearchDAO
-