ErrorRepo

interface ErrorRepo : JpaRepository<TaskErrorEntity, Long> , JpaSpecificationExecutor<TaskErrorEntity>

Functions

Link copied to clipboard
abstract fun count(spec: Specification<TaskErrorEntity?>?): Long
abstract fun count(): Long
abstract fun <S : TaskErrorEntity?> count(example: Example<S?>?): Long
Link copied to clipboard
abstract fun delete(spec: Specification<TaskErrorEntity?>?): Long
abstract fun delete(entity: TaskErrorEntity?)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: Iterable<out TaskErrorEntity?>?)
Link copied to clipboard
abstract fun deleteAllById(ids: Iterable<out Long?>?)
Link copied to clipboard
abstract fun deleteAllByIdInBatch(ids: Iterable<Long?>?)
Link copied to clipboard
abstract fun deleteAllInBatch()
abstract fun deleteAllInBatch(entities: Iterable<TaskErrorEntity?>?)
Link copied to clipboard
abstract fun deleteById(id: Long?)
Link copied to clipboard
@Modifying
@Query(value = "delete from TaskErrorEntity e where e.task.id = :taskId and e.ownerTenantId = :tenantId")
abstract fun deleteByTaskId(tenantId: Int, taskId: Long): Int
Link copied to clipboard
open fun deleteInBatch(entities: Iterable<TaskErrorEntity?>?)
Link copied to clipboard
abstract fun exists(spec: Specification<TaskErrorEntity?>?): Boolean
abstract fun <S : TaskErrorEntity?> exists(example: Example<S?>?): Boolean
Link copied to clipboard
abstract fun existsById(id: Long?): Boolean
Link copied to clipboard
abstract fun findAll(spec: Specification<TaskErrorEntity?>?): List<TaskErrorEntity?>?
abstract fun findAll(spec: Specification<TaskErrorEntity?>?, pageable: Pageable?): Page<TaskErrorEntity?>?
abstract fun findAll(spec: Specification<TaskErrorEntity?>?, sort: Sort?): List<TaskErrorEntity?>?
abstract fun findAll(): List<TaskErrorEntity?>?
abstract fun findAll(pageable: Pageable?): Page<TaskErrorEntity?>?
abstract fun findAll(sort: Sort?): List<TaskErrorEntity?>?
abstract fun <S : TaskErrorEntity?> findAll(example: Example<S?>?): List<S?>?
abstract fun <S : TaskErrorEntity?> findAll(example: Example<S?>?, pageable: Pageable?): Page<S?>?
abstract fun <S : TaskErrorEntity?> findAll(example: Example<S?>?, sort: Sort?): List<S?>?
Link copied to clipboard
abstract fun findAllById(ids: Iterable<Long?>?): List<TaskErrorEntity?>?
Link copied to clipboard
abstract fun <S : TaskErrorEntity?, R : Any?> findBy(spec: Specification<TaskErrorEntity?>?, queryFunction: Function<FluentQuery.FetchableFluentQuery<S?>?, R?>?): R?
abstract fun <S : TaskErrorEntity?, R : Any?> findBy(example: Example<S?>?, queryFunction: Function<FluentQuery.FetchableFluentQuery<S?>?, R?>?): R?
Link copied to clipboard
abstract fun findById(id: Long?): Optional<TaskErrorEntity?>?
Link copied to clipboard
@Query(value = "select e from TaskErrorEntity e where e.task.id = :taskId and e.ownerTenantId = :tenantId")
abstract fun findByTaskId(tenantId: Int, taskId: Long): List<TaskErrorEntity>
Link copied to clipboard
@Query(value = "select e from TaskErrorEntity e where e.task.id in :taskIds and e.ownerTenantId = :tenantId")
abstract fun findByTaskIds(tenantId: Int, taskIds: List<Long>): List<TaskErrorEntity>
Link copied to clipboard
abstract fun findOne(spec: Specification<TaskErrorEntity?>?): Optional<TaskErrorEntity?>?
abstract fun <S : TaskErrorEntity?> findOne(example: Example<S?>?): Optional<S?>?
Link copied to clipboard
abstract fun flush()
Link copied to clipboard
abstract fun getById(id: Long?): TaskErrorEntity?
Link copied to clipboard
abstract fun getOne(id: Long?): TaskErrorEntity?
Link copied to clipboard
Link copied to clipboard
abstract fun <S : TaskErrorEntity?> save(entity: S?): S?
Link copied to clipboard
abstract fun <S : TaskErrorEntity?> saveAll(entities: Iterable<S?>?): List<S?>?
Link copied to clipboard
abstract fun <S : TaskErrorEntity?> saveAllAndFlush(entities: Iterable<S?>?): List<S?>?
Link copied to clipboard
abstract fun <S : TaskErrorEntity?> saveAndFlush(entity: S?): S?