Interface FormSettingsRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<FormSettingsEntity,Long>, DomainIdRepository<FormSettingsEntity,Long>, org.springframework.data.jpa.repository.JpaRepository<FormSettingsEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<FormSettingsEntity>, org.springframework.data.repository.PagingAndSortingRepository<FormSettingsEntity,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<FormSettingsEntity>, org.springframework.data.repository.Repository<FormSettingsEntity,Long>

@Repository public interface FormSettingsRepository extends DomainIdRepository<FormSettingsEntity,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    findId(String formName, Integer domainId)
     
    isDoubleOptIn(String formName, Integer domainId)
     
    isRowView(String formName, Integer domainId)
     

    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

    • findByFormNameAndDomainId

      FormSettingsEntity findByFormNameAndDomainId(String formName, Integer domainId)
    • deleteByFormNameAndDomainId

      @Transactional @Modifying void deleteByFormNameAndDomainId(String formName, Integer domainId)
    • findId

      @Query("SELECT fse.id FROM FormSettingsEntity fse WHERE fse.formName = :formName AND fse.domainId = :domainId") Long findId(@Param("formName") String formName, @Param("domainId") Integer domainId)
    • isRowView

      @Query("SELECT fse.rowView FROM FormSettingsEntity fse WHERE fse.formName = :formName AND fse.domainId = :domainId") Boolean isRowView(@Param("formName") String formName, @Param("domainId") Integer domainId)
    • isDoubleOptIn

      @Query("SELECT fse.doubleOptIn FROM FormSettingsEntity fse WHERE fse.formName = :formName AND fse.domainId = :domainId") Boolean isDoubleOptIn(@Param("formName") String formName, @Param("domainId") Integer domainId)