Interface MessageOptionItemsFactory

  • All Implemented Interfaces:

    
    public interface MessageOptionItemsFactory
    
                        

    An interface that allows the creation of message option items.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • createMessageOptionItems

         abstract List<MessageOptionItem> createMessageOptionItems(Message selectedMessage, User currentUser, Boolean isInThread, Set<String> ownCapabilities, MessageListViewStyle style)

        Creates MessageOptionItems for the selected message.

        Parameters:
        selectedMessage - The currently selected message.
        currentUser - The currently logged in user.
        isInThread - If the message is being displayed in a thread.
        ownCapabilities - Set of capabilities the user is given for the current channel.
        style - The style to be applied to the view.
        Returns:

        The list of message option items to display.