infraservice throws exception

This commit is contained in:
insanity 2018-04-24 19:13:11 +09:00
parent 0550d5ea0f
commit 074ae3c305

View File

@ -2,6 +2,7 @@ package com.loafle.overflow.service.central.infra;
import java.util.List;
import com.loafle.overflow.core.exception.OverflowException;
import com.loafle.overflow.core.model.PageParams;
import com.loafle.overflow.model.domain.Domain;
import com.loafle.overflow.model.infra.Infra;
@ -15,11 +16,11 @@ import org.springframework.data.domain.Page;
*/
public interface InfraService {
Infra regist(Infra infra);
Infra read(long id);
Page<Infra> readAllByProbe(Probe probe, PageParams pageParams);
Page<Infra> readAllByDomain(Domain domain, PageParams pageParams);
List<Target> readAllTargetByDomain(Domain domain);
List<Target> readAllTargetByProbeList(List<Probe> probeList);
Infra readByTarget(Target target);
Infra regist(Infra infra) throws OverflowException;
Infra read(long id) throws OverflowException;
Page<Infra> readAllByProbe(Probe probe, PageParams pageParams) throws OverflowException;
Page<Infra> readAllByDomain(Domain domain, PageParams pageParams) throws OverflowException;
List<Target> readAllTargetByDomain(Domain domain) throws OverflowException;
List<Target> readAllTargetByProbeList(List<Probe> probeList) throws OverflowException;
Infra readByTarget(Target target) throws OverflowException;
}