Interface CampaingsRepository

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

@Repository public interface CampaingsRepository extends DomainIdRepository<CampaingsEntity,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
    void
    updateUserGroups(String userGroupsIds, Long id, 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, 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

    • updateUserGroups

      @Transactional @Modifying @Query("UPDATE CampaingsEntity ce SET ce.userGroupsIds = :userGroupsIds WHERE ce.id = :id AND ce.domainId = :domainId") void updateUserGroups(@Param("userGroupsIds") String userGroupsIds, @Param("id") Long id, @Param("domainId") Integer domainId)