Class AnyObjectRepoExtImpl
java.lang.Object
org.apache.syncope.core.persistence.jpa.dao.repo.AbstractAnyRepoExt<AnyObject>
org.apache.syncope.core.persistence.jpa.dao.repo.AnyObjectRepoExtImpl
- All Implemented Interfaces:
AnyObjectRepoExt,AnyRepoExt<AnyObject>
-
Field Summary
FieldsFields inherited from class org.apache.syncope.core.persistence.jpa.dao.repo.AbstractAnyRepoExt
anyFinder, anyUtils, dynRealmDAO, entityManager, LOG, plainSchemaDAO, table -
Constructor Summary
ConstructorsConstructorDescriptionAnyObjectRepoExtImpl(AnyUtilsFactory anyUtilsFactory, DynRealmDAO dynRealmDAO, PlainSchemaDAO plainSchemaDAO, UserDAO userDAO, GroupDAO groupDAO, EntityManager entityManager, AnyFinder anyFinder) -
Method Summary
Modifier and TypeMethodDescriptioncountByRealm(AnyType anyType) voidvoiddeleteMembership(AMembership membership) protected Pair<AnyObject, GroupDAO.DynMembershipInfo> findAllGroupKeys(AnyObject anyObject) findAllGroups(AnyObject anyObject) findAllRelationships(AnyObject anyObject) findAllResources(AnyObject anyObject) protected List<ARelationship> findARelationships(AnyObject anyObject) findDynGroups(String key) findMembership(String key) protected List<URelationship> findURelationships(AnyObject anyObject) <S extends AnyObject>
Ssave(S anyObject) saveAndGetDynGroupMembs(AnyObject anyObject) voidsecurityChecks(Set<String> authRealms, String key, String realm, Collection<String> groups) protected voidsecurityChecks(AnyObject anyObject) Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.repo.AbstractAnyRepoExt
authFind, checkBeforeSave, deleteById, findAllowedSchemas, findByDerAttrValue, findById, findDynRealms, findLastChangeMethods 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.jpa.dao.repo.AnyRepoExt
authFind, deleteById, findAllowedSchemas, findByDerAttrValue, findDynRealms, findLastChange
-
Field Details
-
userDAO
-
groupDAO
-
-
Constructor Details
-
AnyObjectRepoExtImpl
public AnyObjectRepoExtImpl(AnyUtilsFactory anyUtilsFactory, DynRealmDAO dynRealmDAO, PlainSchemaDAO plainSchemaDAO, UserDAO userDAO, GroupDAO groupDAO, EntityManager entityManager, AnyFinder anyFinder)
-
-
Method Details
-
countByType
- Specified by:
countByTypein interfaceAnyObjectRepoExt
-
countByRealm
- Specified by:
countByRealmin interfaceAnyObjectRepoExt
-
securityChecks
@Transactional(readOnly=true) public void securityChecks(Set<String> authRealms, String key, String realm, Collection<String> groups) - Specified by:
securityChecksin interfaceAnyObjectRepoExt
-
securityChecks
- Specified by:
securityChecksin classAbstractAnyRepoExt<AnyObject>
-
findMembership
- Specified by:
findMembershipin interfaceAnyObjectRepoExt
-
deleteMembership
- Specified by:
deleteMembershipin interfaceAnyObjectRepoExt
-
findAllRelationships
- Specified by:
findAllRelationshipsin interfaceAnyObjectRepoExt
-
doSave
-
save
- Specified by:
savein interfaceAnyObjectRepoExt- Specified by:
savein interfaceAnyRepoExt<AnyObject>
-
saveAndGetDynGroupMembs
- Specified by:
saveAndGetDynGroupMembsin interfaceAnyObjectRepoExt
-
findARelationships
-
findURelationships
-
findDynGroups
@Transactional(propagation=REQUIRES_NEW, readOnly=true) public List<Group> findDynGroups(String key) - Specified by:
findDynGroupsin interfaceAnyObjectRepoExt
-
findAllGroups
@Transactional(propagation=REQUIRES_NEW, readOnly=true) public Collection<Group> findAllGroups(AnyObject anyObject) - Specified by:
findAllGroupsin interfaceAnyObjectRepoExt
-
findAllGroupKeys
@Transactional(propagation=REQUIRES_NEW, readOnly=true) public Collection<String> findAllGroupKeys(AnyObject anyObject) - Specified by:
findAllGroupKeysin interfaceAnyObjectRepoExt
-
findAllResources
@Transactional(propagation=REQUIRES_NEW, readOnly=true) public Collection<ExternalResource> findAllResources(AnyObject anyObject) - Specified by:
findAllResourcesin interfaceAnyObjectRepoExt
-
findAllResourceKeys
- Specified by:
findAllResourceKeysin interfaceAnyRepoExt<AnyObject>
-
delete
- Specified by:
deletein interfaceAnyObjectRepoExt- Specified by:
deletein interfaceAnyRepoExt<AnyObject>
-