Class Neo4jPolicyDAO
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.Neo4jPolicyDAO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CASSPClientAppDAOprotected final EntityCacheDAOprotected static final Loggerprotected final NodeValidatorprotected final OIDCRPClientAppDAOprotected final RealmDAOprotected final ExternalResourceDAOprotected final SAML2SPClientAppDAOFields 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_SORT -
Constructor Summary
ConstructorsConstructorDescriptionNeo4jPolicyDAO(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 TypeMethodDescriptionlongcount()voidvoiddeleteById(String key) booleanexistsById(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:
existsByIdin interfaceDAO<Policy>
-
findById
-
findById
-
count
public long count() -
findAll
-
findAll
-
findByAccountRule
- Specified by:
findByAccountRulein interfacePolicyDAO
-
findByPasswordRule
- Specified by:
findByPasswordRulein interfacePolicyDAO
-
findByInboundCorrelationRule
- Specified by:
findByInboundCorrelationRulein interfacePolicyDAO
-
findByPushCorrelationRule
- Specified by:
findByPushCorrelationRulein interfacePolicyDAO
-
findByResource
- Specified by:
findByResourcein interfacePolicyDAO
-
save
-
delete
-
deleteById
- Specified by:
deleteByIdin interfaceDAO<Policy>
-