Class JPAAuthModuleDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<AuthModule>
-
- org.apache.syncope.core.persistence.jpa.dao.JPAAuthModuleDAO
-
- All Implemented Interfaces:
AuthModuleDAO
,DAO<AuthModule>
public class JPAAuthModuleDAO extends AbstractDAO<AuthModule> implements AuthModuleDAO
-
-
Field Summary
Fields Modifier and Type Field Description protected PolicyDAO
policyDAO
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPAAuthModuleDAO(PolicyDAO policyDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
void
delete(AuthModule authModule)
AuthModule
find(String key)
List<AuthModule>
findAll()
AuthModule
save(AuthModule authModule)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Field Detail
-
policyDAO
protected final PolicyDAO policyDAO
-
-
Constructor Detail
-
JPAAuthModuleDAO
public JPAAuthModuleDAO(PolicyDAO policyDAO)
-
-
Method Detail
-
find
@Transactional(readOnly=true) public AuthModule find(String key)
- Specified by:
find
in interfaceAuthModuleDAO
-
findAll
@Transactional(readOnly=true) public List<AuthModule> findAll()
- Specified by:
findAll
in interfaceAuthModuleDAO
-
save
public AuthModule save(AuthModule authModule)
- Specified by:
save
in interfaceAuthModuleDAO
-
delete
public void delete(String key)
- Specified by:
delete
in interfaceAuthModuleDAO
-
delete
public void delete(AuthModule authModule)
- Specified by:
delete
in interfaceAuthModuleDAO
-
-