readByTempProbeKey
This commit is contained in:
parent
07adce4953
commit
5d55239309
|
@ -25,6 +25,7 @@ public class Probe {
|
|||
private String cidr;
|
||||
private Date authorizeDate;
|
||||
private Member authorizeMember;
|
||||
private int targetCount = 0;
|
||||
|
||||
|
||||
public Probe() {
|
||||
|
@ -143,4 +144,16 @@ public class Probe {
|
|||
this.authorizeMember = authorizeMember;
|
||||
}
|
||||
|
||||
|
||||
@Column(name = "TARGET_COUNT", nullable = false)
|
||||
public int getTargetCount() {
|
||||
return targetCount;
|
||||
}
|
||||
|
||||
public void setTargetCount(int targetCount) {
|
||||
this.targetCount = targetCount;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -14,6 +14,8 @@ import java.util.List;
|
|||
public interface NoAuthProbeService {
|
||||
@ProbeAPI
|
||||
NoAuthProbe regist(NoAuthProbe noAuthProbe) throws OverflowException;
|
||||
@ProbeAPI
|
||||
NoAuthProbe readByTempProbeKey(String tempKey) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
List<NoAuthProbe> readAllByDomain(Domain domain) throws OverflowException;
|
||||
|
@ -21,4 +23,5 @@ public interface NoAuthProbeService {
|
|||
List<NoAuthProbe> acceptNoAuthProbe(NoAuthProbe noAuthProbe) throws OverflowException;
|
||||
@WebappAPI
|
||||
List<NoAuthProbe> denyNoauthProbe(NoAuthProbe noAuthProbe) throws OverflowException;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user