Interface FieldsSettingsRepository

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

@Repository public interface FieldsSettingsRepository extends DomainIdRepository<FieldsSettingsEntity,Long>
Persists field settings and provides lookups and duplicate checks scoped by class and domain.
  • 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 Type
    Method
    Description
    boolean
    existsByClassNameAndFieldNameAndDomainIdAndIdNot(String className, String fieldName, int domainId, Long id)
     
    findAllByClassNameAndDomainId(String className, int 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, findAllByIdInAndDomainId, findFirstByIdAndDomainId

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, count, delete, delete, exists, exists, findAll, findAll, findAll, findAll, findAll, findBy, findBy, findOne, findOne, update

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    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

    • findAllByClassNameAndDomainId

      List<FieldsSettingsEntity> findAllByClassNameAndDomainId(String className, int domainId)
    • existsByClassNameAndFieldNameAndDomainIdAndIdNot

      boolean existsByClassNameAndFieldNameAndDomainIdAndIdNot(String className, String fieldName, int domainId, Long id)