Package sk.iway.iwcm.components.forms
Interface FormsRepositoryInterface<E>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<E,
,Long> DomainIdRepository<E,
,Long> org.springframework.data.jpa.repository.JpaRepository<E,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<E>
,org.springframework.data.repository.PagingAndSortingRepository<E,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<E>
,org.springframework.data.repository.Repository<E,
Long>
- All Known Subinterfaces:
FormsArchiveRepository
,FormsRepository
-
Method Summary
Modifier and TypeMethodDescriptionint
countAllByFormNameAndDomainId
(String formName, Integer domainId) void
deleteByFormNameAndDomainId
(String formName, Integer domainId) findAllByCreateDateIsNullAndDomainId
(Integer domainId) org.springframework.data.domain.Page<E>
findAllByFormNameAndDomainIdAndCreateDateNotNull
(String formName, Integer domainId, org.springframework.data.domain.Pageable pageable) findFirstByFormNameAndDomainIdAndCreateDateIsNullOrderByIdAsc
(String formName, Integer domainId) findTopByFormNameAndDomainIdAndCreateDateNotNullOrderByCreateDateDesc
(String formName, Integer domainId) void
updateLastExportDate
(Date lastExportDate, List<Long> formIds) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface sk.iway.iwcm.system.datatable.spring.DomainIdRepository
findAllByDomainId, findAllByDomainId, findFirstByIdAndDomainId
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, findAll, findAll, findAll, findOne
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllByCreateDateIsNullAndDomainId
-
countAllByFormNameAndDomainId
-
findTopByFormNameAndDomainIdAndCreateDateNotNullOrderByCreateDateDesc
-
findFirstByFormNameAndDomainIdAndCreateDateIsNullOrderByIdAsc
-
findAllByFormNameAndDomainIdAndCreateDateNotNull
-
updateLastExportDate
-
deleteByFormNameAndDomainId
-