Class OnlineAgentTenantVisibilityContext
- java.lang.Object
-
- com.novomind.ecom.api.iagent.visibility.tenant.context.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnlineAgentTenantVisibilityContext
getCurrentVisibilityContext(User user)
Creates anOnlineAgentTenantVisibilityContext
for the given user.User
getUser()
Returns the userOnlineAgentTenantVisibility
getVisibility()
Returns the visibility of this context
-
-
-
Method Detail
-
getUser
public User getUser()
Description copied from interface:UserProvider
Returns the user- Specified by:
getUser
in interfaceUserProvider
- Returns:
- the user object
-
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 anOnlineAgentTenantVisibilityContext
for the given user. The context of this method has theOnlineAgentTenantVisibility.CURRENT
visibility- Parameters:
user
- the user for the context- Returns:
- the
OnlineAgentTenantVisibilityContext
- Since:
- 10.0.146
-
-