Interface TaskRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Task,java.lang.String>,org.springframework.data.mongodb.repository.MongoRepository<Task,java.lang.String>,org.springframework.data.repository.PagingAndSortingRepository<Task,java.lang.String>,org.springframework.data.repository.query.QueryByExampleExecutor<Task>,org.springframework.data.querydsl.binding.QuerydslBinderCustomizer<QTask>,org.springframework.data.querydsl.QuerydslPredicateExecutor<Task>,org.springframework.data.repository.Repository<Task,java.lang.String>
- All Known Implementing Classes:
TaskRepositoryImpl
public interface TaskRepository extends org.springframework.data.mongodb.repository.MongoRepository<Task,java.lang.String>, org.springframework.data.querydsl.QuerydslPredicateExecutor<Task>, org.springframework.data.querydsl.binding.QuerydslBinderCustomizer<QTask>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcustomize(org.springframework.data.querydsl.binding.QuerydslBindings bindings, QTask qTask)voiddeleteAllByCaseId(java.lang.String caseId)voiddeleteAllByCaseIdAndFinishDateIsNotNull(java.lang.String caseId)voiddeleteAllByCaseIdAndUserIdIsNull(java.lang.String caseId)voiddeleteAllByProcessId(java.lang.String processId)java.util.List<Task>findAllBy_idIn(java.lang.Iterable<java.lang.String> id)java.util.List<Task>findAllByCaseId(java.lang.String id)java.util.List<Task>findAllByTransitionIdIn(java.util.Collection<java.lang.String> ids)java.util.List<Task>findAllByTransitionIdInAndCaseId(java.util.Collection<java.lang.String> transitionIds, java.lang.String caseId)org.springframework.data.domain.Page<Task>findByCaseIdIn(org.springframework.data.domain.Pageable pageable, java.util.Collection<java.lang.String> ids)TaskfindByTransitionIdAndCaseId(java.lang.String transitionId, java.lang.String caseId)org.springframework.data.domain.Page<Task>findByTransitionIdIn(org.springframework.data.domain.Pageable pageable, java.util.Collection<java.lang.String> ids)org.springframework.data.domain.Page<Task>findByUserId(org.springframework.data.domain.Pageable pageable, java.lang.String userId)java.util.List<Task>findByUserIdAndFinishDateNotNull(java.lang.Long userId)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAllById, findById, save
-
Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, findAll, insert, insert, saveAll
-
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
-
-
-
-
Method Detail
-
findAllByCaseId
java.util.List<Task> findAllByCaseId(java.lang.String id)
-
findByCaseIdIn
org.springframework.data.domain.Page<Task> findByCaseIdIn(org.springframework.data.domain.Pageable pageable, java.util.Collection<java.lang.String> ids)
-
findByTransitionIdIn
org.springframework.data.domain.Page<Task> findByTransitionIdIn(org.springframework.data.domain.Pageable pageable, java.util.Collection<java.lang.String> ids)
-
findAllByTransitionIdIn
java.util.List<Task> findAllByTransitionIdIn(java.util.Collection<java.lang.String> ids)
-
findByUserId
org.springframework.data.domain.Page<Task> findByUserId(org.springframework.data.domain.Pageable pageable, java.lang.String userId)
-
findByUserIdAndFinishDateNotNull
java.util.List<Task> findByUserIdAndFinishDateNotNull(java.lang.Long userId)
-
findByTransitionIdAndCaseId
Task findByTransitionIdAndCaseId(java.lang.String transitionId, java.lang.String caseId)
-
findAllByTransitionIdInAndCaseId
java.util.List<Task> findAllByTransitionIdInAndCaseId(java.util.Collection<java.lang.String> transitionIds, java.lang.String caseId)
-
findAllBy_idIn
java.util.List<Task> findAllBy_idIn(java.lang.Iterable<java.lang.String> id)
-
deleteAllByCaseIdAndUserIdIsNull
void deleteAllByCaseIdAndUserIdIsNull(java.lang.String caseId)
-
deleteAllByCaseIdAndFinishDateIsNotNull
void deleteAllByCaseIdAndFinishDateIsNotNull(java.lang.String caseId)
-
deleteAllByCaseId
void deleteAllByCaseId(java.lang.String caseId)
-
deleteAllByProcessId
void deleteAllByProcessId(java.lang.String processId)
-
-