readByTempProbeKey

This commit is contained in:
insanity 2018-04-27 12:15:46 +09:00
parent 07adce4953
commit 5d55239309
2 changed files with 16 additions and 0 deletions

View File

@ -25,6 +25,7 @@ public class Probe {
private String cidr; private String cidr;
private Date authorizeDate; private Date authorizeDate;
private Member authorizeMember; private Member authorizeMember;
private int targetCount = 0;
public Probe() { public Probe() {
@ -143,4 +144,16 @@ public class Probe {
this.authorizeMember = authorizeMember; this.authorizeMember = authorizeMember;
} }
@Column(name = "TARGET_COUNT", nullable = false)
public int getTargetCount() {
return targetCount;
}
public void setTargetCount(int targetCount) {
this.targetCount = targetCount;
}
} }

View File

@ -14,6 +14,8 @@ import java.util.List;
public interface NoAuthProbeService { public interface NoAuthProbeService {
@ProbeAPI @ProbeAPI
NoAuthProbe regist(NoAuthProbe noAuthProbe) throws OverflowException; NoAuthProbe regist(NoAuthProbe noAuthProbe) throws OverflowException;
@ProbeAPI
NoAuthProbe readByTempProbeKey(String tempKey) throws OverflowException;
@WebappAPI @WebappAPI
List<NoAuthProbe> readAllByDomain(Domain domain) throws OverflowException; List<NoAuthProbe> readAllByDomain(Domain domain) throws OverflowException;
@ -21,4 +23,5 @@ public interface NoAuthProbeService {
List<NoAuthProbe> acceptNoAuthProbe(NoAuthProbe noAuthProbe) throws OverflowException; List<NoAuthProbe> acceptNoAuthProbe(NoAuthProbe noAuthProbe) throws OverflowException;
@WebappAPI @WebappAPI
List<NoAuthProbe> denyNoauthProbe(NoAuthProbe noAuthProbe) throws OverflowException; List<NoAuthProbe> denyNoauthProbe(NoAuthProbe noAuthProbe) throws OverflowException;
} }