Class AbstractAnyRepoExt<A extends Any,N extends AbstractAny>
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.repo.AbstractAnyRepoExt<A,N>
- All Implemented Interfaces:
AnyRepoExt<A>
- Direct Known Subclasses:
AnyObjectRepoExtImpl,GroupRepoExtImpl,UserRepoExtImpl
public abstract class AbstractAnyRepoExt<A extends Any,N extends AbstractAny>
extends AbstractDAO
implements AnyRepoExt<A>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnyTypeClassDAOprotected final AnyTypeDAOprotected final AnyUtilsprotected final DerSchemaDAOprotected final DynRealmDAOprotected final PlainSchemaDAOFields 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.AnyRepoExt
REGEX_CHARS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAnyRepoExt(AnyTypeDAO anyTypeDAO, AnyTypeClassDAO anyTypeClassDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, DynRealmDAO dynRealmDAO, AnyUtils anyUtils, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract javax.cache.Cache<EntityCacheKey, N> cache()protected <T extends Attributable>
voidcheckBeforeSave(T attributable) voiddeleteById(String key) <S extends Schema>
AllowedSchemas<S> findAllowedSchemas(A any, Class<S> reference) findByKeys(List<String> keys) findByResourcesContaining(ExternalResource resource) findDynRealms(String key) protected Optional<OffsetDateTime> findLastChange(String key, String node) protected abstract voidsecurityChecks(A any) Split an attribute value recurring on provided literals/tokens.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.neo4j.dao.repo.AnyRepoExt
delete, findAllResourceKeys, findLastChange, save
-
Field Details
-
anyTypeDAO
-
anyTypeClassDAO
-
plainSchemaDAO
-
derSchemaDAO
-
dynRealmDAO
-
anyUtils
-
-
Constructor Details
-
AbstractAnyRepoExt
protected AbstractAnyRepoExt(AnyTypeDAO anyTypeDAO, AnyTypeClassDAO anyTypeClassDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, DynRealmDAO dynRealmDAO, AnyUtils anyUtils, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient)
-
-
Method Details
-
split
Split an attribute value recurring on provided literals/tokens.- Parameters:
attrValue- value to be splitliterals- literals/tokens- Returns:
- split value
-
cache
-
findByKeys
- Specified by:
findByKeysin interfaceAnyRepoExt<A extends Any>
-
findLastChange
-
securityChecks
-
findById
-
authFind
- Specified by:
authFindin interfaceAnyRepoExt<A extends Any>
-
findAllowedSchemas
@Transactional(propagation=REQUIRES_NEW, readOnly=true) public <S extends Schema> AllowedSchemas<S> findAllowedSchemas(A any, Class<S> reference) - Specified by:
findAllowedSchemasin interfaceAnyRepoExt<A extends Any>
-
findDynRealms
- Specified by:
findDynRealmsin interfaceAnyRepoExt<A extends Any>
-
findByResourcesContaining
- Specified by:
findByResourcesContainingin interfaceAnyRepoExt<A extends Any>
-
checkBeforeSave
-
deleteById
- Specified by:
deleteByIdin interfaceAnyRepoExt<A extends Any>
-