All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.infusers.core.audit.AuditRepository Maven / Gradle / Ivy

package com.infusers.core.audit;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.keyvalue.repository.KeyValueRepository;

public interface AuditRepository extends JpaRepository , JpaSpecificationExecutor{
//public interface AuditRepository extends KeyValueRepository , JpaSpecificationExecutor{
	
	  Page findById(Long id, Pageable pageable);
	  Page findByIdAndUserEmailId(Long id, String userEmailId, Pageable pageable);
	  Page findByUserEmailId(String userEmailId, Pageable pageable);
	  
	  Page findAll(Specification spec, Pageable pageable);
	  Page findAllByUserEmailId(String userEmailId, Specification spec, Pageable pageable);	  
	}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy