Class Neo4jRealmDAO
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.Neo4jRealmDAO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final javax.cache.Cache<EntityCacheKey, Neo4jRealm> static final Stringprotected static final Loggerprotected final NodeValidatorprotected final ApplicationEventPublisherprotected final RealmSearchDAOprotected final RoleDAOFields inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
neo4jClient, neo4jTemplateFields inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
DEFAULT_SORTFields inherited from interface org.apache.syncope.core.persistence.api.dao.RealmDAO
NAME_PATTERN, PATH_PATTERN -
Constructor Summary
ConstructorsConstructorDescriptionNeo4jRealmDAO(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 TypeMethodDescriptionlongcount()voidvoiddeleteById(String key) booleanexistsById(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:
existsByIdin interfaceDAO<Realm>
-
findById
-
findSamePolicyChildren
-
findByPolicy
- Specified by:
findByPolicyin interfaceRealmDAO
-
findByActionsContaining
- Specified by:
findByActionsContainingin interfaceRealmDAO
-
findByResources
- Specified by:
findByResourcesin 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:
deleteByIdin interfaceDAO<Realm>
-
delete
-