Class GroupRepoExtImpl
java.lang.Object
org.apache.syncope.core.persistence.neo4j.dao.AbstractDAO
org.apache.syncope.core.persistence.neo4j.dao.repo.AbstractAnyRepoExt<Group,Neo4jGroup>
org.apache.syncope.core.persistence.neo4j.dao.repo.GroupRepoExtImpl
- All Implemented Interfaces:
AnyRepoExt<Group>,GroupRepoExt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnyMatchDAOprotected final AnyObjectDAOprotected final AnySearchDAOprotected final javax.cache.Cache<EntityCacheKey, Neo4jGroup> protected final NodeValidatorprotected final ApplicationEventPublisherprotected final RealmDAOprotected final AnySearchCondVisitorprotected final UserDAOFields inherited from class org.apache.syncope.core.persistence.neo4j.dao.repo.AbstractAnyRepoExt
anyTypeClassDAO, anyTypeDAO, anyUtils, derSchemaDAO, dynRealmDAO, 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_CHARSFields inherited from interface org.apache.syncope.core.persistence.neo4j.dao.repo.GroupRepoExt
CACHE, DYN_GROUP_ANY_OBJECT_MEMBERSHIP_REL, DYN_GROUP_USER_MEMBERSHIP_REL -
Constructor Summary
ConstructorsConstructorDescriptionGroupRepoExtImpl(AnyUtilsFactory anyUtilsFactory, ApplicationEventPublisher publisher, AnyTypeDAO anyTypeDAO, AnyTypeClassDAO anyTypeClassDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, DynRealmDAO dynRealmDAO, RealmDAO realmDAO, AnyMatchDAO anyMatchDAO, UserDAO userDAO, AnyObjectDAO anyObjectDAO, AnySearchDAO anySearchDAO, AnySearchCondVisitor searchCondVisitor, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jGroup> groupCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected javax.cache.Cache<EntityCacheKey, Neo4jGroup> cache()voidclearADynMembers(Group group) voidclearUDynMembers(Group group) longcountADynMembers(Group group) longcountUDynMembers(Group group) voidfindADynMembers(Group group) findAMemberships(Group group) findLastChange(String key) findOwnedByGroup(String groupKey) findOwnedByUser(String userKey) findTypeExtensions(AnyTypeClass anyTypeClass) findUDynMembers(Group group) findUMemberships(Group group, org.springframework.data.domain.Pageable pageable) protected List<ADynGroupMembership> findWithADynMemberships(AnyType anyType) protected List<UDynGroupMembership> refreshDynMemberships(AnyObject anyObject) refreshDynMemberships(User user) removeDynMemberships(AnyObject anyObject) removeDynMemberships(User user) <S extends Group>
Ssave(S group) voidsecurityChecks(Set<String> authRealms, String key, String realm) protected voidsecurityChecks(Group group) Methods inherited from class org.apache.syncope.core.persistence.neo4j.dao.repo.AbstractAnyRepoExt
authFind, checkBeforeSave, deleteById, findAllowedSchemas, findById, findByKeys, findByResourcesContaining, findDynRealms, findLastChange, splitMethods 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
authFind, deleteById, findAllowedSchemas, findByKeys, findByResourcesContaining, findDynRealms
-
Field Details
-
publisher
-
realmDAO
-
anyMatchDAO
-
userDAO
-
anyObjectDAO
-
anySearchDAO
-
searchCondVisitor
-
nodeValidator
-
groupCache
-
-
Constructor Details
-
GroupRepoExtImpl
public GroupRepoExtImpl(AnyUtilsFactory anyUtilsFactory, ApplicationEventPublisher publisher, AnyTypeDAO anyTypeDAO, AnyTypeClassDAO anyTypeClassDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, DynRealmDAO dynRealmDAO, RealmDAO realmDAO, AnyMatchDAO anyMatchDAO, UserDAO userDAO, AnyObjectDAO anyObjectDAO, AnySearchDAO anySearchDAO, AnySearchCondVisitor searchCondVisitor, org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate, org.springframework.data.neo4j.core.Neo4jClient neo4jClient, NodeValidator nodeValidator, javax.cache.Cache<EntityCacheKey, Neo4jGroup> groupCache)
-
-
Method Details
-
cache
- Specified by:
cachein classAbstractAnyRepoExt<Group,Neo4jGroup>
-
findLastChange
- Specified by:
findLastChangein interfaceAnyRepoExt<Group>
-
securityChecks
@Transactional(readOnly=true) public void securityChecks(Set<String> authRealms, String key, String realm) - Specified by:
securityChecksin interfaceGroupRepoExt
-
securityChecks
- Specified by:
securityChecksin classAbstractAnyRepoExt<Group,Neo4jGroup>
-
countByRealm
- Specified by:
countByRealmin interfaceGroupRepoExt
-
findOwnedByUser
- Specified by:
findOwnedByUserin interfaceGroupRepoExt
-
findOwnedByGroup
- Specified by:
findOwnedByGroupin interfaceGroupRepoExt
-
findAllResourceKeys
- Specified by:
findAllResourceKeysin interfaceAnyRepoExt<Group>
-
findAMemberships
- Specified by:
findAMembershipsin interfaceGroupRepoExt
-
findUMemberships
public List<UMembership> findUMemberships(Group group, org.springframework.data.domain.Pageable pageable) - Specified by:
findUMembershipsin interfaceGroupRepoExt
-
save
- Specified by:
savein interfaceAnyRepoExt<Group>- Specified by:
savein interfaceGroupRepoExt
-
saveAndRefreshDynMemberships
- Specified by:
saveAndRefreshDynMembershipsin interfaceGroupRepoExt
-
delete
- Specified by:
deletein interfaceAnyRepoExt<Group>- Specified by:
deletein interfaceGroupRepoExt
-
findTypeExtensions
- Specified by:
findTypeExtensionsin interfaceGroupRepoExt
-
countADynMembers
- Specified by:
countADynMembersin interfaceGroupRepoExt
-
countUDynMembers
- Specified by:
countUDynMembersin interfaceGroupRepoExt
-
findADynMembers
- Specified by:
findADynMembersin interfaceGroupRepoExt
-
findUDynMembers
- Specified by:
findUDynMembersin interfaceGroupRepoExt
-
clearADynMembers
- Specified by:
clearADynMembersin interfaceGroupRepoExt
-
clearUDynMembers
- Specified by:
clearUDynMembersin interfaceGroupRepoExt
-
findWithADynMemberships
-
refreshDynMemberships
- Specified by:
refreshDynMembershipsin interfaceGroupRepoExt
-
removeDynMemberships
- Specified by:
removeDynMembershipsin interfaceGroupRepoExt
-
findWithUDynMemberships
-
refreshDynMemberships
- Specified by:
refreshDynMembershipsin interfaceGroupRepoExt
-
removeDynMemberships
- Specified by:
removeDynMembershipsin interfaceGroupRepoExt
-