Class JPASAML2SPClientAppDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<C>
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractClientAppDAO<SAML2SPClientApp>
-
- org.apache.syncope.core.persistence.jpa.dao.JPASAML2SPClientAppDAO
-
- All Implemented Interfaces:
ClientAppDAO<SAML2SPClientApp>
,DAO<SAML2SPClientApp>
,SAML2SPClientAppDAO
public class JPASAML2SPClientAppDAO extends AbstractClientAppDAO<SAML2SPClientApp> implements SAML2SPClientAppDAO
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPASAML2SPClientAppDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
void
delete(SAML2SPClientApp clientApp)
void
deleteByEntityId(String entityId)
SAML2SPClientApp
find(String key)
List<SAML2SPClientApp>
findAll()
SAML2SPClientApp
findByClientAppId(Long clientAppId)
SAML2SPClientApp
findByEntityId(String entityId)
SAML2SPClientApp
findByName(String name)
List<SAML2SPClientApp>
findByPolicy(Policy policy)
List<SAML2SPClientApp>
findByRealm(Realm realm)
SAML2SPClientApp
save(SAML2SPClientApp 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 SAML2SPClientApp find(String key)
- Specified by:
find
in interfaceSAML2SPClientAppDAO
-
findByClientAppId
public SAML2SPClientApp findByClientAppId(Long clientAppId)
- Specified by:
findByClientAppId
in interfaceSAML2SPClientAppDAO
-
findByName
public SAML2SPClientApp findByName(String name)
- Specified by:
findByName
in interfaceSAML2SPClientAppDAO
-
findByEntityId
public SAML2SPClientApp findByEntityId(String entityId)
- Specified by:
findByEntityId
in interfaceSAML2SPClientAppDAO
-
findByPolicy
public List<SAML2SPClientApp> findByPolicy(Policy policy)
- Specified by:
findByPolicy
in interfaceClientAppDAO<SAML2SPClientApp>
-
findByRealm
public List<SAML2SPClientApp> findByRealm(Realm realm)
- Specified by:
findByRealm
in interfaceClientAppDAO<SAML2SPClientApp>
-
findAll
@Transactional(readOnly=true) public List<SAML2SPClientApp> findAll()
- Specified by:
findAll
in interfaceSAML2SPClientAppDAO
-
save
public SAML2SPClientApp save(SAML2SPClientApp clientApp)
- Specified by:
save
in interfaceSAML2SPClientAppDAO
-
delete
public void delete(String key)
- Specified by:
delete
in interfaceSAML2SPClientAppDAO
-
deleteByEntityId
public void deleteByEntityId(String entityId)
- Specified by:
deleteByEntityId
in interfaceSAML2SPClientAppDAO
-
delete
public void delete(SAML2SPClientApp clientApp)
- Specified by:
delete
in interfaceSAML2SPClientAppDAO
-
-