Class JPADynRealmDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<DynRealm>
-
- org.apache.syncope.core.persistence.jpa.dao.JPADynRealmDAO
-
- All Implemented Interfaces:
DAO<DynRealm>
,DynRealmDAO
public class JPADynRealmDAO extends AbstractDAO<DynRealm> implements DynRealmDAO
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyMatchDAO
anyMatchDAO
protected AnyObjectDAO
anyObjectDAO
static String
DYNMEMB_TABLE
protected GroupDAO
groupDAO
protected ApplicationEventPublisher
publisher
protected SearchCondVisitor
searchCondVisitor
protected AnySearchDAO
searchDAO
protected UserDAO
userDAO
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPADynRealmDAO(ApplicationEventPublisher publisher, UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, AnySearchDAO searchDAO, AnyMatchDAO anyMatchDAO, SearchCondVisitor searchCondVisitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>
clearDynMembers(DynRealm dynRealm)
void
delete(String key)
DynRealm
find(String key)
List<DynRealm>
findAll()
protected void
notifyDynMembershipRemoval(List<String> anyKeys)
void
refreshDynMemberships(Any<?> any)
void
removeDynMemberships(String anyKey)
DynRealm
save(DynRealm dynRealm)
DynRealm
saveAndRefreshDynMemberships(DynRealm dynRealm)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Field Detail
-
DYNMEMB_TABLE
public static final String DYNMEMB_TABLE
- See Also:
- Constant Field Values
-
publisher
protected final ApplicationEventPublisher publisher
-
userDAO
protected final UserDAO userDAO
-
groupDAO
protected final GroupDAO groupDAO
-
anyObjectDAO
protected final AnyObjectDAO anyObjectDAO
-
searchDAO
protected final AnySearchDAO searchDAO
-
anyMatchDAO
protected final AnyMatchDAO anyMatchDAO
-
searchCondVisitor
protected final SearchCondVisitor searchCondVisitor
-
-
Constructor Detail
-
JPADynRealmDAO
public JPADynRealmDAO(ApplicationEventPublisher publisher, UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, AnySearchDAO searchDAO, AnyMatchDAO anyMatchDAO, SearchCondVisitor searchCondVisitor)
-
-
Method Detail
-
find
public DynRealm find(String key)
- Specified by:
find
in interfaceDynRealmDAO
-
findAll
public List<DynRealm> findAll()
- Specified by:
findAll
in interfaceDynRealmDAO
-
save
public DynRealm save(DynRealm dynRealm)
- Specified by:
save
in interfaceDynRealmDAO
-
saveAndRefreshDynMemberships
public DynRealm saveAndRefreshDynMemberships(DynRealm dynRealm)
- Specified by:
saveAndRefreshDynMemberships
in interfaceDynRealmDAO
-
delete
public void delete(String key)
- Specified by:
delete
in interfaceDynRealmDAO
-
refreshDynMemberships
@Transactional public void refreshDynMemberships(Any<?> any)
- Specified by:
refreshDynMemberships
in interfaceDynRealmDAO
-
removeDynMemberships
public void removeDynMemberships(String anyKey)
- Specified by:
removeDynMemberships
in interfaceDynRealmDAO
-
-