Package io.wcm.wcm.commons.util
Class EditableTemplate
java.lang.Object
io.wcm.wcm.commons.util.EditableTemplate
Helper methods for editable AEM templates.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisEditRestricted(@NotNull com.day.cq.wcm.api.components.ComponentContext wcmComponentContext) Checks if editing of the given component in edit mode is forbidden due to a lock in the template editor for this component.
-
Method Details
-
isEditRestricted
public static boolean isEditRestricted(@NotNull @NotNull com.day.cq.wcm.api.components.ComponentContext wcmComponentContext) Checks if editing of the given component in edit mode is forbidden due to a lock in the template editor for this component.- Parameters:
wcmComponentContext- WCM component context- Returns:
- true if editing the component is forbidden
-