Class JPAAuthProfileDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<AuthProfile>
-
- org.apache.syncope.core.persistence.jpa.dao.JPAAuthProfileDAO
-
- All Implemented Interfaces:
AuthProfileDAO
,DAO<AuthProfile>
public class JPAAuthProfileDAO extends AbstractDAO<AuthProfile> implements AuthProfileDAO
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPAAuthProfileDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
void
delete(String key)
void
delete(AuthProfile authProfile)
AuthProfile
find(String key)
List<AuthProfile>
findAll(int page, int itemsPerPage)
Optional<AuthProfile>
findByOwner(String owner)
AuthProfile
save(AuthProfile profile)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Method Detail
-
find
public AuthProfile find(String key)
- Specified by:
find
in interfaceAuthProfileDAO
-
count
public int count()
- Specified by:
count
in interfaceAuthProfileDAO
-
findAll
public List<AuthProfile> findAll(int page, int itemsPerPage)
- Specified by:
findAll
in interfaceAuthProfileDAO
-
findByOwner
public Optional<AuthProfile> findByOwner(String owner)
- Specified by:
findByOwner
in interfaceAuthProfileDAO
-
save
public AuthProfile save(AuthProfile profile)
- Specified by:
save
in interfaceAuthProfileDAO
-
delete
public void delete(String key)
- Specified by:
delete
in interfaceAuthProfileDAO
-
delete
public void delete(AuthProfile authProfile)
- Specified by:
delete
in interfaceAuthProfileDAO
-
-