Package org.openiam.esb.repository
Interface ReportSubCriteriaParamRepository
-
- All Superinterfaces:
AbstractEntityRepository<ReportSubCriteriaParamEntity,String>
,org.springframework.data.repository.CrudRepository<ReportSubCriteriaParamEntity,String>
,org.springframework.data.jpa.repository.JpaRepository<ReportSubCriteriaParamEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<ReportSubCriteriaParamEntity>
,org.springframework.data.repository.PagingAndSortingRepository<ReportSubCriteriaParamEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<ReportSubCriteriaParamEntity>
,org.springframework.data.repository.Repository<ReportSubCriteriaParamEntity,String>
@Repository public interface ReportSubCriteriaParamRepository extends AbstractEntityRepository<ReportSubCriteriaParamEntity,String>
JA Repository forReportSubCriteriaParamEntity
.- Author:
- Asker Kazharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ReportSubCriteriaParamEntity>
findByReportInfoId(String reportInfoId)
Get list ofReportSubCriteriaParamEntity
which entity.report.id = reportInfoIdList<ReportSubCriteriaParamEntity>
findByReportInfoName(String reportName)
-
Methods inherited from interface org.openiam.esb.repository.AbstractEntityRepository
getPageable
-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, exists, findAll, findAll, findAll, findOne
-
-
-
-
Method Detail
-
findByReportInfoId
@Query("SELECT r FROM ReportSubCriteriaParamEntity r WHERE r.report.id=:reportInfoId ORDER BY r.name ASC") List<ReportSubCriteriaParamEntity> findByReportInfoId(@Param("reportInfoId") String reportInfoId)
Get list ofReportSubCriteriaParamEntity
which entity.report.id = reportInfoId- Parameters:
reportInfoId
- id of report entityReportSubscriptionEntity
- Returns:
- list of
ReportSubCriteriaParamEntity
-
findByReportInfoName
@Query("SELECT r FROM ReportSubCriteriaParamEntity r WHERE r.report.name=:reportName ORDER BY r.name ASC") List<ReportSubCriteriaParamEntity> findByReportInfoName(@Param("reportName") String reportName)
-
-