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