Class OnlineAgentCategoryVisibilityContext
- java.lang.Object
-
- com.novomind.ecom.api.iagent.visibility.category.OnlineAgentCategoryVisibilityContext
-
- All Implemented Interfaces:
UserProvider
,VisibilityContext
public final class OnlineAgentCategoryVisibilityContext extends java.lang.Object implements VisibilityContext
This class represents an online agent visibility context for a category- Since:
- 11.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnlineAgentCategoryVisibilityContext
forUser(User user)
Creates anAgentCategoryVisibility
for the given user.User
getUser()
Returns the userOnlineAgentCategoryVisibility
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 OnlineAgentCategoryVisibility getVisibility()
Returns the visibility of this context- Returns:
- the
OnlineAgentCategoryVisibility
for this context - Since:
- 11.0
-
forUser
public static final OnlineAgentCategoryVisibilityContext forUser(User user)
Creates anAgentCategoryVisibility
for the given user. The context of this method has theAgentCategoryVisibility.CURRENT
visibility- Parameters:
user
- the user for the context- Returns:
- the
AgentCategoryVisibility
- Since:
- 11.0
-
-