Class AgentTenantVisibilityContext
java.lang.Object
com.novomind.ecom.api.iagent.visibility.tenant.context.AgentTenantVisibilityContext
- All Implemented Interfaces:
UserProvider
,VisibilityContext
This class represents an agent visibility context for a tenant
- Since:
- 10.0.146
-
Method Summary
Modifier and TypeMethodDescriptionstatic final AgentTenantVisibilityContext
Creates anAgentTenantVisibilityContext
for the given user.getUser()
Returns the userReturns the visibility of this context
-
Method Details
-
getUser
Description copied from interface:UserProvider
Returns the user- Specified by:
getUser
in interfaceUserProvider
- Returns:
- the user object
-
getVisibility
Returns the visibility of this context- Returns:
- the
AgentTenantVisibility
for this context - Since:
- 10.0.146
-
getAssignedVisibilityContext
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
-