Class ChatService

Object
ChatService

public class ChatService extends Object
  • Constructor Details

    • ChatService

      @Inject public ChatService(LogService logService)
  • Method Details

    • deleteChatLine

      public void deleteChatLine(User aUser, @Nonnull String chatlinename)
      Delete the chatline including all the users making use of this chatline. Some notes: 1. you are either a deputy or the owner of the chatline
      Parameters:
      aUser - the user issueing the request for deleting the chatline
      chatlinename - name of the chatline
    • getChatline

      public Optional<Chatline> getChatline(@Nonnull String chatlinename)
    • createChatline

      public Chatline createChatline(String chatlinename, String attribute, String colour, User aUser)
    • editChatline

      public void editChatline(String chatlinename, String attribute, String colour, User aUser, User newOwner)
    • getChatlines

      public List<Chatline> getChatlines()