Class JPASecurityQuestionDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<SecurityQuestion>
-
- org.apache.syncope.core.persistence.jpa.dao.JPASecurityQuestionDAO
-
- All Implemented Interfaces:
DAO<SecurityQuestion>
,SecurityQuestionDAO
public class JPASecurityQuestionDAO extends AbstractDAO<SecurityQuestion> implements SecurityQuestionDAO
-
-
Field Summary
Fields Modifier and Type Field Description protected UserDAO
userDAO
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPASecurityQuestionDAO(UserDAO userDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
SecurityQuestion
find(String key)
List<SecurityQuestion>
findAll()
SecurityQuestion
save(SecurityQuestion securityQuestion)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Field Detail
-
userDAO
protected final UserDAO userDAO
-
-
Constructor Detail
-
JPASecurityQuestionDAO
public JPASecurityQuestionDAO(UserDAO userDAO)
-
-
Method Detail
-
find
public SecurityQuestion find(String key)
- Specified by:
find
in interfaceSecurityQuestionDAO
-
findAll
public List<SecurityQuestion> findAll()
- Specified by:
findAll
in interfaceSecurityQuestionDAO
-
save
public SecurityQuestion save(SecurityQuestion securityQuestion)
- Specified by:
save
in interfaceSecurityQuestionDAO
-
delete
public void delete(String key)
- Specified by:
delete
in interfaceSecurityQuestionDAO
-
-