Class DefaultUserCanReplyCommentStrategy
- java.lang.Object
-
- de.hybris.platform.cockpit.comments.strategies.impl.AbstractUserCommentsPermissionsCheckStrategy
-
- de.hybris.platform.cockpit.comments.strategies.impl.DefaultUserCanReplyCommentStrategy
-
- All Implemented Interfaces:
CommentPermissionCheckStrategy
public class DefaultUserCanReplyCommentStrategy extends AbstractUserCommentsPermissionsCheckStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultUserCanReplyCommentStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUserPermitted(UserModel user, AbstractCommentModel comment)Returns true if the user can perform a comment action-
Methods inherited from class de.hybris.platform.cockpit.comments.strategies.impl.AbstractUserCommentsPermissionsCheckStrategy
abstractCommentHasReplies, getSystemService, getTypeService, getUiAccessRightService, getUserService, setSystemService, setTypeService, setUiAccessRightService, setUserService
-
-
-
-
Method Detail
-
isUserPermitted
public boolean isUserPermitted(UserModel user, AbstractCommentModel comment)
Description copied from interface:CommentPermissionCheckStrategyReturns true if the user can perform a comment action- Returns:
trueorfalse
-
-