Class AgentTenantVisibilityContext
- java.lang.Object
-
- com.novomind.ecom.api.iagent.visibility.tenant.context.AgentTenantVisibilityContext
-
- All Implemented Interfaces:
UserProvider
,VisibilityContext
public final class AgentTenantVisibilityContext extends java.lang.Object implements VisibilityContext
This class represents an 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 AgentTenantVisibilityContext
getAssignedVisibilityContext(User user)
Creates anAgentTenantVisibilityContext
for the given user.User
getUser()
Returns the userAgentTenantVisibility
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 AgentTenantVisibility getVisibility()
Returns the visibility of this context- Returns:
- the
AgentTenantVisibility
for this context - Since:
- 10.0.146
-
getAssignedVisibilityContext
public static final AgentTenantVisibilityContext getAssignedVisibilityContext(User user)
Creates anAgentTenantVisibilityContext
for the given user. The context of this method has theAgentTenantVisibility.ASSIGNED
visibility- Parameters:
user
- the user for the context- Returns:
- the
AgentTenantVisibilityContext
- Since:
- 10.0.146
-
-