return model

This commit is contained in:
snoop 2017-07-04 17:28:43 +09:00
parent a750866682
commit 87a4a2f518
2 changed files with 3 additions and 21 deletions

View File

@ -18,8 +18,9 @@ public class NoAuthProbeService {
private NoAuthProbeDAO noAuthProbeDAO;
public void regist(NoAuthProbe noAuthProbe) {
this.noAuthProbeDAO.save(noAuthProbe);
public NoAuthProbe regist(NoAuthProbe noAuthProbe) {
return this.noAuthProbeDAO.save(noAuthProbe);
}
public List<NoAuthProbe> readAllByDomain(Domain domain) {

View File

@ -1,19 +0,0 @@
package com.loafle.overflow.module.noauthprobe.type;
/**
* Created by root on 17. 5. 31.
*/
public enum AuthType {
A("ACCEPT"),
D("DENY"),
P("PROCESS");
private String stringValue;
AuthType(String string) {stringValue = string;}
@Override
public String toString() {
return stringValue;
}
}