Interface FormStepsRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<FormStepEntity,,Long> DomainIdRepository<FormStepEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<FormStepEntity,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<FormStepEntity>,org.springframework.data.repository.ListCrudRepository<FormStepEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<FormStepEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<FormStepEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<FormStepEntity>,org.springframework.data.repository.Repository<FormStepEntity,Long>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllByFormNameAndDomainId(String formName, Integer domainId) findAllByFormNameAndDomainId(String formName, Integer domainId) findAllByFormNameAndDomainIdOrderBySortPriorityAsc(String formName, Integer domainId) getFirstStepId(String formName, Integer domainId) getFormNameByStepId(Long stepId, Integer domainId) getMultistepFormNames(Integer domainId) getStepByPosition(String formName, Integer currentPosition, Integer domainId) getValidStep(String formName, Long stepId, Integer domainId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface sk.iway.iwcm.system.datatable.spring.DomainIdRepository
findAllByDomainId, findAllByDomainId, findFirstByIdAndDomainIdMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, count, delete, delete, exists, exists, findAll, findAll, findAll, findAll, findAll, findBy, findBy, findOne, findOne, updateMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllByFormNameAndDomainId
-
findAllByFormNameAndDomainIdOrderBySortPriorityAsc
List<FormStepEntity> findAllByFormNameAndDomainIdOrderBySortPriorityAsc(String formName, Integer domainId) -
getMultistepFormNames
-
deleteAllByFormNameAndDomainId
-
getFirstStepId
-
getValidStep
@Query("SELECT fse FROM FormStepEntity fse WHERE fse.formName = :formName AND fse.id = :stepId AND fse.domainId = :domainId") Optional<FormStepEntity> getValidStep(@Param("formName") String formName, @Param("stepId") Long stepId, @Param("domainId") Integer domainId) -
getStepByPosition
@Query("SELECT fse FROM FormStepEntity fse WHERE fse.formName = :formName AND fse.currentPosition = :currentPosition AND fse.domainId = :domainId") Optional<FormStepEntity> getStepByPosition(@Param("formName") String formName, @Param("currentPosition") Integer currentPosition, @Param("domainId") Integer domainId) -
getFormNameByStepId
-