27 lines
773 B
Java
27 lines
773 B
Java
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<ApiServiceKey> findAllApiServiceKeys(Pageable pageable);
|
|
|
|
public ApiServiceKey findByUrl(String url);
|
|
|
|
public void delete(Long id);
|
|
|
|
public Optional<ApiServiceKey> findById(Long id);
|
|
|
|
public List<ApiServiceKey> findApiKeys(Example<ApiServiceKey> example, Pageable pageable);
|
|
|
|
public long getRecordsCount(Example<ApiServiceKey> example);
|
|
}
|