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 intcount()voiddelete(String key)voiddelete(AuthProfile authProfile)AuthProfilefind(String key)List<AuthProfile>findAll(int page, int itemsPerPage)Optional<AuthProfile>findByOwner(String owner)AuthProfilesave(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:
findin interfaceAuthProfileDAO
-
count
public int count()
- Specified by:
countin interfaceAuthProfileDAO
-
findAll
public List<AuthProfile> findAll(int page, int itemsPerPage)
- Specified by:
findAllin interfaceAuthProfileDAO
-
findByOwner
public Optional<AuthProfile> findByOwner(String owner)
- Specified by:
findByOwnerin interfaceAuthProfileDAO
-
save
public AuthProfile save(AuthProfile profile)
- Specified by:
savein interfaceAuthProfileDAO
-
delete
public void delete(String key)
- Specified by:
deletein interfaceAuthProfileDAO
-
delete
public void delete(AuthProfile authProfile)
- Specified by:
deletein interfaceAuthProfileDAO
-
-