package com.eactive.httpmockserver.api.service; import com.eactive.httpmockserver.api.entity.ApiServiceKey; import org.springframework.data.domain.Example; import org.springframework.data.domain.Pageable; import java.util.List; import java.util.Optional; public interface ApiServiceKeyService { public ApiServiceKey save(ApiServiceKey apiServiceKey); public ApiServiceKey update(ApiServiceKey apiServiceKey); public List findAllApiServiceKeys(Pageable pageable); public ApiServiceKey findByUrl(String url); public void delete(Long id); public Optional findById(Long id); public List findApiKeys(Example example, Pageable pageable); public long getRecordsCount(Example example); }