Interface InsertScriptRepository

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

@Repository public interface InsertScriptRepository extends DomainIdRepository<InsertScriptBean,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 Type
    Method
    Description
     
     

    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, 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

    • findDistinctAllByPositionLikeAndDomainId

      List<InsertScriptBean> findDistinctAllByPositionLikeAndDomainId(String position, Integer domainId)
    • findMaxSortPriorityByPositionAndDomainId

      @Query("SELECT MAX(e.sortPriority) FROM InsertScriptBean e WHERE e.position = :position AND e.domainId = :domainId") Integer findMaxSortPriorityByPositionAndDomainId(@Param("position") String position, @Param("domainId") int domainId)