Interface MessageServiceSecured

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<Chat> createChat​(Chat chat)
      This method creates a database entity.
      java.util.Optional<Chat> createChat​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> chatAsMap)
      This method creates a database entity.
      java.util.Optional<Chat> createChatAndNotify​(Chat chat)
      This method creates a database entity.
      java.util.Optional<Chat> createChatAndNotify​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> chatAsMap)
      This method creates a database entity.
      java.util.Optional<Message> createMessage​(Message message)
      This method creates a database entity.
      java.util.Optional<Message> createMessage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> messageAsMap)
      This method creates a database entity.
      java.util.Optional<Message> createMessageAndNotify​(Message message)
      This method creates a database entity.
      java.util.Optional<Message> createMessageAndNotify​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> messageAsMap)
      This method creates a database entity.
    • Method Detail

      • createChatAndNotify

        java.util.Optional<Chat> createChatAndNotify​(Chat chat)
        This method creates a database entity.
        Parameters:
        chat - database entity
        Returns:
        optional value to externally interaction
      • createChatAndNotify

        java.util.Optional<Chat> createChatAndNotify​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> chatAsMap)
        This method creates a database entity.
        Parameters:
        chatAsMap - map-representation of database entity
        Returns:
        optional value to externally interaction
      • createChat

        java.util.Optional<Chat> createChat​(Chat chat)
        This method creates a database entity.
        Parameters:
        chat - database entity
        Returns:
        optional value to externally interaction
      • createChat

        java.util.Optional<Chat> createChat​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> chatAsMap)
        This method creates a database entity.
        Parameters:
        chatAsMap - map-representation of database entity
        Returns:
        optional value to externally interaction
      • createMessageAndNotify

        java.util.Optional<Message> createMessageAndNotify​(Message message)
        This method creates a database entity.
        Parameters:
        message - database entity
        Returns:
        optional value to externally interaction
      • createMessageAndNotify

        java.util.Optional<Message> createMessageAndNotify​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> messageAsMap)
        This method creates a database entity.
        Parameters:
        messageAsMap - map-representation of database entity
        Returns:
        optional value to externally interaction
      • createMessage

        java.util.Optional<Message> createMessage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> messageAsMap)
        This method creates a database entity.
        Parameters:
        messageAsMap - map-representation of database entity
        Returns:
        optional value to externally interaction
      • createMessage

        java.util.Optional<Message> createMessage​(Message message)
        This method creates a database entity.
        Parameters:
        message - database entity
        Returns:
        optional value to externally interaction