}
}
public List<AlertChannel> queryChannels(String typeName, String groupName, String levelName) {
try {
Level level = queryLevel(typeName, groupName, levelName);
if (level == null) {
return new ArrayList<AlertChannel>();
} else {
String send = level.getSend();
String[] sends = send.split(",");
List<AlertChannel> channels = new ArrayList<AlertChannel>();
for (String str : sends) {
AlertChannel channel = AlertChannel.findByName(str);