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