Class JPARealmDAO
- java.lang.Object
- 
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<Realm>
- 
- org.apache.syncope.core.persistence.jpa.dao.JPARealmDAO
 
 
- 
- Direct Known Subclasses:
- ElasticsearchRealmDAO,- OpenSearchRealmDAO
 
 public class JPARealmDAO extends AbstractDAO<Realm> implements RealmDAO 
- 
- 
Field SummaryFields Modifier and Type Field Description protected ApplicationEventPublisherpublisherprotected RoleDAOroleDAO- 
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAOLOG
 - 
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.RealmDAONAME_PATTERN, PATH_PATTERN
 
- 
 - 
Constructor SummaryConstructors Constructor Description JPARealmDAO(RoleDAO roleDAO, ApplicationEventPublisher publisher)
 - 
Method Summary- 
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAOdetach, entityManager, entityManagerFactory, isOracle, refresh
 
- 
 
- 
- 
- 
Field Detail- 
roleDAOprotected final RoleDAO roleDAO 
 - 
publisherprotected final ApplicationEventPublisher publisher 
 
- 
 - 
Constructor Detail- 
JPARealmDAOpublic JPARealmDAO(RoleDAO roleDAO, ApplicationEventPublisher publisher) 
 
- 
 - 
Method Detail- 
buildDescendantsQueryprotected static StringBuilder buildDescendantsQuery(Set<String> bases, String keyword, List<Object> parameters) 
 - 
find@Transactional(readOnly=true) public Realm find(String key) 
 - 
findByFullPath@Transactional(readOnly=true) public Realm findByFullPath(String fullPath) - Specified by:
- findByFullPathin interface- RealmDAO
 
 - 
findByNamepublic List<Realm> findByName(String name) - Specified by:
- findByNamein interface- RealmDAO
 
 - 
findByResourcepublic List<Realm> findByResource(ExternalResource resource) - Specified by:
- findByResourcein interface- RealmDAO
 
 - 
countDescendantspublic int countDescendants(String base, String keyword) - Specified by:
- countDescendantsin interface- RealmDAO
 
 - 
countDescendantspublic int countDescendants(Set<String> bases, String keyword) - Specified by:
- countDescendantsin interface- RealmDAO
 
 - 
findDescendantspublic List<Realm> findDescendants(String base, String keyword, int page, int itemsPerPage) - Specified by:
- findDescendantsin interface- RealmDAO
 
 - 
findDescendantspublic List<Realm> findDescendants(Set<String> bases, String keyword, int page, int itemsPerPage) - Specified by:
- findDescendantsin interface- RealmDAO
 
 - 
findDescendantspublic List<String> findDescendants(String base, String prefix) - Specified by:
- findDescendantsin interface- RealmDAO
 
 - 
findSamePolicyChildrenprotected <T extends Policy> List<Realm> findSamePolicyChildren(Realm realm, T policy) 
 - 
findByPolicypublic <T extends Policy> List<Realm> findByPolicy(T policy) - Specified by:
- findByPolicyin interface- RealmDAO
 
 - 
findByLogicActionspublic List<Realm> findByLogicActions(Implementation logicActions) - Specified by:
- findByLogicActionsin interface- RealmDAO
 
 - 
findAncestorspublic List<Realm> findAncestors(Realm realm) - Specified by:
- findAncestorsin interface- RealmDAO
 
 - 
findChildrenpublic List<Realm> findChildren(Realm realm) - Specified by:
- findChildrenin interface- RealmDAO
 
 - 
findAllKeyspublic List<String> findAllKeys(int page, int itemsPerPage) - Specified by:
- findAllKeysin interface- RealmDAO
 
 
- 
 
-