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