Package io.wcm.wcm.commons.util
Class EditableTemplate
- java.lang.Object
-
- io.wcm.wcm.commons.util.EditableTemplate
-
public final class EditableTemplate extends Object
Helper methods for editable AEM templates.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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
-
-