Class AgentCategoryVisibilityContext
- java.lang.Object
-
- com.novomind.ecom.api.iagent.visibility.category.AgentCategoryVisibilityContext
-
- All Implemented Interfaces:
UserProvider
,VisibilityContext
public final class AgentCategoryVisibilityContext extends java.lang.Object implements VisibilityContext
This class represents an 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 AgentCategoryVisibilityContext
forUser(User user)
Creates anAgentCategoryVisibility
for the given user.User
getUser()
Returns the userAgentCategoryVisibility
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 AgentCategoryVisibility getVisibility()
Returns the visibility of this context- Returns:
- the
AgentCategoryVisibility
for this context - Since:
- 11.0
-
forUser
public static final AgentCategoryVisibilityContext forUser(User user)
Creates anAgentCategoryVisibility
for the given user. The context of this method has theAgentCategoryVisibility.VISIBLE
visibility- Parameters:
user
- the user for the context- Returns:
- the
AgentCategoryVisibility
- Since:
- 11.0
-
-