Class JPACASSPClientAppDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<C>
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractClientAppDAO<CASSPClientApp>
-
- org.apache.syncope.core.persistence.jpa.dao.JPACASSPClientAppDAO
-
- All Implemented Interfaces:
CASSPClientAppDAO
,ClientAppDAO<CASSPClientApp>
,DAO<CASSPClientApp>
public class JPACASSPClientAppDAO extends AbstractClientAppDAO<CASSPClientApp> implements CASSPClientAppDAO
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPACASSPClientAppDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
void
delete(CASSPClientApp clientApp)
CASSPClientApp
find(String key)
List<CASSPClientApp>
findAll()
CASSPClientApp
findByClientAppId(Long clientAppId)
CASSPClientApp
findByName(String name)
List<CASSPClientApp>
findByPolicy(Policy policy)
List<CASSPClientApp>
findByRealm(Realm realm)
CASSPClientApp
save(CASSPClientApp clientApp)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractClientAppDAO
findByPolicy, findByRealm, getByPolicyQuery
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Method Detail
-
find
public CASSPClientApp find(String key)
- Specified by:
find
in interfaceCASSPClientAppDAO
-
findByClientAppId
public CASSPClientApp findByClientAppId(Long clientAppId)
- Specified by:
findByClientAppId
in interfaceCASSPClientAppDAO
-
findByName
public CASSPClientApp findByName(String name)
- Specified by:
findByName
in interfaceCASSPClientAppDAO
-
findByPolicy
public List<CASSPClientApp> findByPolicy(Policy policy)
- Specified by:
findByPolicy
in interfaceClientAppDAO<CASSPClientApp>
-
findByRealm
public List<CASSPClientApp> findByRealm(Realm realm)
- Specified by:
findByRealm
in interfaceClientAppDAO<CASSPClientApp>
-
findAll
@Transactional(readOnly=true) public List<CASSPClientApp> findAll()
- Specified by:
findAll
in interfaceCASSPClientAppDAO
-
save
public CASSPClientApp save(CASSPClientApp clientApp)
- Specified by:
save
in interfaceCASSPClientAppDAO
-
delete
public void delete(String key)
- Specified by:
delete
in interfaceCASSPClientAppDAO
-
delete
public void delete(CASSPClientApp clientApp)
- Specified by:
delete
in interfaceCASSPClientAppDAO
-
-