Class JPAApplicationDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<Application>
-
- org.apache.syncope.core.persistence.jpa.dao.JPAApplicationDAO
-
- All Implemented Interfaces:
ApplicationDAO
,DAO<Application>
public class JPAApplicationDAO extends AbstractDAO<Application> implements ApplicationDAO
-
-
Constructor Summary
Constructors Constructor Description JPAApplicationDAO(RoleDAO roleDAO, UserDAO userDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
void
delete(Application application)
Application
find(String key)
List<Application>
findAll()
Privilege
findPrivilege(String key)
Application
save(Application application)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Method Detail
-
find
public Application find(String key)
- Specified by:
find
in interfaceApplicationDAO
-
findPrivilege
public Privilege findPrivilege(String key)
- Specified by:
findPrivilege
in interfaceApplicationDAO
-
findAll
public List<Application> findAll()
- Specified by:
findAll
in interfaceApplicationDAO
-
save
public Application save(Application application)
- Specified by:
save
in interfaceApplicationDAO
-
delete
public void delete(Application application)
- Specified by:
delete
in interfaceApplicationDAO
-
delete
public void delete(String key)
- Specified by:
delete
in interfaceApplicationDAO
-
-