@Repository public class JPARemediationDAO extends AbstractDAO<Remediation> implements RemediationDAO
LOG
Constructor and Description |
---|
JPARemediationDAO() |
Modifier and Type | Method and Description |
---|---|
int |
count(Date before,
Date after) |
void |
delete(Remediation remediation) |
void |
delete(String key) |
Remediation |
find(String key) |
List<Remediation> |
findAll(Date before,
Date after,
int page,
int itemsPerPage,
List<OrderByClause> orderByClauses) |
List<Remediation> |
findByAnyType(AnyType anyType) |
List<Remediation> |
findByPullTask(PullTask pullTask) |
protected StringBuilder |
query(StringBuilder select,
Date before,
Date after) |
Remediation |
save(Remediation remediation) |
clear, detach, entityManager, entityManagerFactory, refresh
@Transactional(readOnly=true) public Remediation find(String key)
find
in interface RemediationDAO
public List<Remediation> findByAnyType(AnyType anyType)
findByAnyType
in interface RemediationDAO
public List<Remediation> findByPullTask(PullTask pullTask)
findByPullTask
in interface RemediationDAO
protected StringBuilder query(StringBuilder select, Date before, Date after)
public int count(Date before, Date after)
count
in interface RemediationDAO
public List<Remediation> findAll(Date before, Date after, int page, int itemsPerPage, List<OrderByClause> orderByClauses)
findAll
in interface RemediationDAO
public Remediation save(Remediation remediation)
save
in interface RemediationDAO
public void delete(Remediation remediation)
delete
in interface RemediationDAO
@Transactional public void delete(String key)
delete
in interface RemediationDAO
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.