public class ConfigProtectedNodeRule
extends info.magnolia.ui.api.availability.AbstractAvailabilityRule
AvailabilityRule
for the config app.
In particular, /system
and /modules
nodes, as well as their direct sub-nodes, should never be unpublished.
Concretely, the rule evaluates to true
if given item is a node and has depth higher than 2.
Constructor and Description |
---|
ConfigProtectedNodeRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailableForItem(Object itemId) |
public boolean isAvailableForItem(Object itemId)
isAvailableForItem
in class info.magnolia.ui.api.availability.AbstractAvailabilityRule
Copyright © 2017 Magnolia International Ltd.. All rights reserved.