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 AgentTenantVisibilityContextCreates anAgentTenantVisibilityContextfor the given user.getUser()Returns the userReturns the visibility of this context
-
Method Details
-
getUser
Description copied from interface:UserProviderReturns the user- Specified by:
getUserin interfaceUserProvider- Returns:
- the user object
-
getVisibility
Returns the visibility of this context- Returns:
- the
AgentTenantVisibilityfor this context - Since:
- 10.0.146
-
getAssignedVisibilityContext
Creates anAgentTenantVisibilityContextfor the given user. The context of this method has theAgentTenantVisibility.ASSIGNEDvisibility- Parameters:
user- the user for the context- Returns:
- the
AgentTenantVisibilityContext - Since:
- 10.0.146
-