Interface CallInfoTabProvider


  • public interface CallInfoTabProvider
    A CallInfoTabProvider is used to build a custom call info tab. ************************ !!! IMPORTANT NOTE !!! ****************************** Please note that the methods of this interface will be called very frequently triggered by user interactions in the frontend, that keep blocking until the method returns. The implementation must guarantee high performance and avoid heap garbage. Please do not implement any long term operations like web service calls or database lookups within the method implementations of this interface. Please keep in mind that the methods may be called multiple times concurrently and avoid any kind of bottle necks or synchronized code. ******************************************************************************
    Since:
    11.27
    • Method Detail

      • getCallInfoTab

        CallInfoTab getCallInfoTab​(CallInfoViewContext context)
        The method is called on plugins implementing this interface to determine all information to display a custom call info tab view. The required information is returned through a CallInfoTab object. If the return value is null no call info tab will be displayed for that request. This is the default method being called on plugins implementing this interface, if none of the other methods match to the current view context.
        Parameters:
        context - The CallInfoViewContext associated with the request to the view component
        Returns:
        The CallInfoTab instance containing the information to display the call info tab view.
        Since:
        11.27
      • getCallInfoTab

        default CallInfoTab getCallInfoTab​(BacklogCallInfoViewContext context)
        The method is called on plugins implementing this interface on all call info views displaying backlog calls. If the return value is null no call info tab will be displayed for that request.
        Parameters:
        context - The BacklogCallInfoViewContext associated with the request to the view component
        Returns:
        The CallInfoTab instance containing the information to display the call info tab view.
        Since:
        11.27
      • getCallInfoTab

        default CallInfoTab getCallInfoTab​(SearchResultCallInfoViewContext context)
        The method is called on plugins implementing this interface on all call info views displaying a call, that has been retrieved by a search request. If the return value is null no call info tab will be displayed for that request.
        Parameters:
        context - The SearchResultCallInfoViewContext associated with the request to the view component
        Returns:
        The CallInfoTab instance containing the information to display the call info tab view.
        Since:
        11.27