Class EditableTemplate


  • public final class EditableTemplate
    extends Object
    Helper methods for editable AEM templates.
    • 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