use of beans.response.BusiLogFieldResponse in project MSEC by Tencent.
the class DeleteBusiLogField method exec.
public BusiLogFieldResponse exec(BusiLogField request) {
BusiLogFieldResponse response = new BusiLogFieldResponse();
String result = doDeleteBusiLogField(request);
if (result == null || !result.equals("success")) {
response.setMessage(result);
response.setStatus(100);
} else {
response.setMessage("success");
response.setStatus(0);
}
return response;
}
use of beans.response.BusiLogFieldResponse in project MSEC by Tencent.
the class AddBusiLogField method exec.
public BusiLogFieldResponse exec(BusiLogField request) {
BusiLogFieldResponse response = new BusiLogFieldResponse();
String result = doAddBusiLogField(request);
if (result == null || !result.equals("success")) {
response.setMessage(result);
response.setStatus(100);
} else {
response.setMessage("success");
response.setStatus(0);
}
return response;
}
use of beans.response.BusiLogFieldResponse in project MSEC by Tencent.
the class QueryBusiLogField method exec.
public BusiLogFieldResponse exec(BusiLogField request) {
BusiLogFieldResponse response = new BusiLogFieldResponse();
ArrayList<BusiLogField> fields = new ArrayList<BusiLogField>();
String msg = doGetBusiLogField(request, fields);
if (msg == null || !msg.equals("success")) {
response.setMessage(msg);
response.setStatus(100);
} else {
response.setField_list(fields);
response.setMessage("success");
response.setStatus(0);
}
return response;
}
Aggregations