Class OnlineAgentTenantVisibilityContext

  • All Implemented Interfaces:
    UserProvider, VisibilityContext

    public final class OnlineAgentTenantVisibilityContext
    extends java.lang.Object
    implements VisibilityContext
    This class represents an online agent visibility context for a tenant
    Since:
    10.0.146
    • Method Detail

      • getVisibility

        public OnlineAgentTenantVisibility getVisibility()
        Returns the visibility of this context
        Returns:
        the OnlineAgentTenantVisibility for this context
        Since:
        10.0.146
      • getCurrentVisibilityContext

        public static final OnlineAgentTenantVisibilityContext getCurrentVisibilityContext​(User user)
        Creates an OnlineAgentTenantVisibilityContext for the given user. The context of this method has the OnlineAgentTenantVisibility.CURRENT visibility
        Parameters:
        user - the user for the context
        Returns:
        the OnlineAgentTenantVisibilityContext
        Since:
        10.0.146