Class Neo4jPolicyDAO
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.Neo4jPolicyDAO
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CASSPClientAppDAO
protected final EntityCacheDAO
protected static final Logger
protected final NodeValidator
protected final OIDCRPClientAppDAO
protected final RealmDAO
protected final ExternalResourceDAO
protected final SAML2SPClientAppDAO
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
-
Constructor Summary
ConstructorDescriptionNeo4jPolicyDAO
(RealmDAO realmDAO, ExternalResourceDAO resourceDAO, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO, EntityCacheDAO entityCacheDAO, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator) -
Method Summary
Modifier and TypeMethodDescriptionlong
count()
void
void
deleteById
(String key) boolean
existsById
(String key) findAll()
findByAccountRule
(Implementation accountRule) findByInboundCorrelationRule
(Implementation correlationRule) findByPasswordRule
(Implementation passwordRule) findByPushCorrelationRule
(Implementation correlationRule) findByResource
(ExternalResource resource) protected static <T extends Policy>
Class<? extends Neo4jPolicy> getNodeReference
(Class<T> reference) <P extends Policy>
Psave
(P policy) Methods inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
cascadeDelete, deleteRelationship, findById, findByRelationship, findByRelationship, toList, toOptional
-
Field Details
-
LOG
-
realmDAO
-
resourceDAO
-
casSPClientAppDAO
-
oidcRPClientAppDAO
-
saml2SPClientAppDAO
-
entityCacheDAO
-
nodeValidator
-
-
Constructor Details
-
Neo4jPolicyDAO
public Neo4jPolicyDAO(RealmDAO realmDAO, ExternalResourceDAO resourceDAO, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO, EntityCacheDAO entityCacheDAO, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator)
-
-
Method Details
-
getNodeReference
protected static <T extends Policy> Class<? extends Neo4jPolicy> getNodeReference(Class<T> reference) -
existsById
- Specified by:
existsById
in interfaceDAO<Policy>
-
findById
-
findById
-
count
public long count() -
findAll
-
findAll
-
findByAccountRule
- Specified by:
findByAccountRule
in interfacePolicyDAO
-
findByPasswordRule
- Specified by:
findByPasswordRule
in interfacePolicyDAO
-
findByInboundCorrelationRule
- Specified by:
findByInboundCorrelationRule
in interfacePolicyDAO
-
findByPushCorrelationRule
- Specified by:
findByPushCorrelationRule
in interfacePolicyDAO
-
findByResource
- Specified by:
findByResource
in interfacePolicyDAO
-
save
-
delete
-
deleteById
- Specified by:
deleteById
in interfaceDAO<Policy>
-