added check to not allow two channel groups with the same name

This commit is contained in:
Sheldan
2020-05-12 00:55:45 +02:00
parent 59c449f4d3
commit 5639ca20b5
3 changed files with 11 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ import java.util.List;
public interface ChannelGroupManagementService {
AChannelGroup createChannelGroup(String name, AServer server);
boolean doesChannelGroupExist(String name, AServer server);
void deleteChannelGroup(String name, AServer server);
AChannelGroup addChannelToChannelGroup(AChannelGroup channelGroup, AChannel channel);
void removeChannelFromChannelGroup(AChannelGroup channelGroup, AChannel channel);