Class JPAImplementationDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<Implementation>
-
- org.apache.syncope.core.persistence.jpa.dao.JPAImplementationDAO
-
- All Implemented Interfaces:
DAO<Implementation>
,ImplementationDAO
public class JPAImplementationDAO extends AbstractDAO<Implementation> implements ImplementationDAO
-
-
Field Summary
Fields Modifier and Type Field Description protected EntityCacheDAO
entityCacheDAO
protected ExternalResourceDAO
resourceDAO
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPAImplementationDAO(ExternalResourceDAO resourceDAO, EntityCacheDAO entityCacheDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
Implementation
find(String key)
List<Implementation>
findAll()
List<Implementation>
findByType(String type)
List<Implementation>
findByTypeAndKeyword(String type, String keyword)
Implementation
save(Implementation implementation)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Field Detail
-
resourceDAO
protected final ExternalResourceDAO resourceDAO
-
entityCacheDAO
protected final EntityCacheDAO entityCacheDAO
-
-
Constructor Detail
-
JPAImplementationDAO
public JPAImplementationDAO(ExternalResourceDAO resourceDAO, EntityCacheDAO entityCacheDAO)
-
-
Method Detail
-
find
@Transactional(readOnly=true) public Implementation find(String key)
- Specified by:
find
in interfaceImplementationDAO
-
findByType
public List<Implementation> findByType(String type)
- Specified by:
findByType
in interfaceImplementationDAO
-
findByTypeAndKeyword
public List<Implementation> findByTypeAndKeyword(String type, String keyword)
- Specified by:
findByTypeAndKeyword
in interfaceImplementationDAO
-
findAll
public List<Implementation> findAll()
- Specified by:
findAll
in interfaceImplementationDAO
-
save
public Implementation save(Implementation implementation)
- Specified by:
save
in interfaceImplementationDAO
-
delete
public void delete(String key)
- Specified by:
delete
in interfaceImplementationDAO
-
-