Class JPARemediationDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<Remediation>
-
- org.apache.syncope.core.persistence.jpa.dao.JPARemediationDAO
-
- All Implemented Interfaces:
DAO<Remediation>
,RemediationDAO
public class JPARemediationDAO extends AbstractDAO<Remediation> implements RemediationDAO
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPARemediationDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count(OffsetDateTime before, OffsetDateTime after)
void
delete(String key)
void
delete(Remediation remediation)
Remediation
find(String key)
List<Remediation>
findAll(OffsetDateTime before, OffsetDateTime after, int page, int itemsPerPage, List<OrderByClause> orderByClauses)
List<Remediation>
findByAnyType(AnyType anyType)
List<Remediation>
findByPullTask(PullTask pullTask)
protected StringBuilder
query(StringBuilder select, OffsetDateTime before, OffsetDateTime after)
Remediation
save(Remediation remediation)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Method Detail
-
find
@Transactional(readOnly=true) public Remediation find(String key)
- Specified by:
find
in interfaceRemediationDAO
-
findByAnyType
public List<Remediation> findByAnyType(AnyType anyType)
- Specified by:
findByAnyType
in interfaceRemediationDAO
-
findByPullTask
public List<Remediation> findByPullTask(PullTask pullTask)
- Specified by:
findByPullTask
in interfaceRemediationDAO
-
query
protected StringBuilder query(StringBuilder select, OffsetDateTime before, OffsetDateTime after)
-
count
public int count(OffsetDateTime before, OffsetDateTime after)
- Specified by:
count
in interfaceRemediationDAO
-
findAll
public List<Remediation> findAll(OffsetDateTime before, OffsetDateTime after, int page, int itemsPerPage, List<OrderByClause> orderByClauses)
- Specified by:
findAll
in interfaceRemediationDAO
-
save
public Remediation save(Remediation remediation)
- Specified by:
save
in interfaceRemediationDAO
-
delete
public void delete(Remediation remediation)
- Specified by:
delete
in interfaceRemediationDAO
-
delete
@Transactional public void delete(String key)
- Specified by:
delete
in interfaceRemediationDAO
-
-