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 StringBuilderlongcountDescendants(String base, String keyword) longcountDescendants(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, toOptionalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
findByFullPathin interfaceRealmSearchDAO
-
findByName
- Specified by:
findByNamein interfaceRealmSearchDAO
-
findChildren
- Specified by:
findChildrenin interfaceRealmSearchDAO
-
countDescendants
- Specified by:
countDescendantsin interfaceRealmSearchDAO
-
countDescendants
- Specified by:
countDescendantsin interfaceRealmSearchDAO
-
findDescendants
public List<Realm> findDescendants(String base, String keyword, org.springframework.data.domain.Pageable pageable) - Specified by:
findDescendantsin interfaceRealmSearchDAO
-
findDescendants
public List<Realm> findDescendants(Set<String> bases, String keyword, org.springframework.data.domain.Pageable pageable) - Specified by:
findDescendantsin interfaceRealmSearchDAO
-
findDescendants
- Specified by:
findDescendantsin interfaceRealmSearchDAO
-