Class PlainSchemaRepoExtImpl
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.repo.AbstractSchemaRepoExt
org.apache.syncope.core.persistence.neo4j.dao.repo.PlainSchemaRepoExtImpl
- All Implemented Interfaces:
PlainSchemaRepoExt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final javax.cache.Cache<EntityCacheKey, Neo4jPlainSchema> protected final ExternalResourceDAOFields inherited from class org.apache.syncope.core.persistence.neo4j.dao.repo.AbstractSchemaRepoExt
nodeValidatorFields inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
LOG, neo4jClient, neo4jTemplateFields inherited from interface org.apache.syncope.core.persistence.neo4j.dao.repo.PlainSchemaRepoExt
CACHE -
Constructor Summary
ConstructorsConstructorDescriptionPlainSchemaRepoExtImpl(ExternalResourceDAO resourceDAO, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jPlainSchema> plainSchemaCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected <S extends Schema>
javax.cache.Cache<EntityCacheKey, S> cache()voiddeleteById(String key) booleanexistsPlainAttrUniqueValue(String realmKey, PlainSchema schema, PlainAttrValue attrValue) booleanexistsPlainAttrUniqueValue(AnyUtils anyUtils, String anyKey, PlainSchema schema, PlainAttrValue attrValue) List<? extends PlainSchema> findByAnyTypeClasses(Collection<AnyTypeClass> anyTypeClasses) Optional<? extends PlainSchema> List<? extends PlainSchema> findByIdLike(String keyword) booleanhasAttrs(PlainSchema schema) save(PlainSchema schema) Methods inherited from class org.apache.syncope.core.persistence.neo4j.dao.repo.AbstractSchemaRepoExt
findByAnyTypeClasses, findByIdLikeMethods inherited from class org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
cascadeDelete, deleteRelationship, findById, findByRelationship, findByRelationship, toList, toOptional
-
Field Details
-
resourceDAO
-
plainSchemaCache
-
-
Constructor Details
-
PlainSchemaRepoExtImpl
public PlainSchemaRepoExtImpl(ExternalResourceDAO resourceDAO, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jPlainSchema> plainSchemaCache)
-
-
Method Details
-
cache
- Specified by:
cachein classAbstractSchemaRepoExt
-
findById
- Specified by:
findByIdin interfacePlainSchemaRepoExt
-
findByIdLike
- Specified by:
findByIdLikein interfacePlainSchemaRepoExt
-
findByAnyTypeClasses
- Specified by:
findByAnyTypeClassesin interfacePlainSchemaRepoExt
-
hasAttrs
- Specified by:
hasAttrsin interfacePlainSchemaRepoExt
-
existsPlainAttrUniqueValue
public boolean existsPlainAttrUniqueValue(String realmKey, PlainSchema schema, PlainAttrValue attrValue) - Specified by:
existsPlainAttrUniqueValuein interfacePlainSchemaRepoExt
-
existsPlainAttrUniqueValue
public boolean existsPlainAttrUniqueValue(AnyUtils anyUtils, String anyKey, PlainSchema schema, PlainAttrValue attrValue) - Specified by:
existsPlainAttrUniqueValuein interfacePlainSchemaRepoExt
-
save
- Specified by:
savein interfacePlainSchemaRepoExt
-
deleteById
- Specified by:
deleteByIdin interfacePlainSchemaRepoExt
-