JcrRootRule
instead.@Deprecated public class JcrRootAllowedRule extends AbstractAvailabilityRule
AvailabilityRule
implementation which returns true if evaluated item is the default itemId —
typically the root node for JCR-based content apps.Constructor and Description |
---|
JcrRootAllowedRule()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultItemId()
Deprecated.
|
protected boolean |
isAvailableForItem(Object itemId)
Deprecated.
This method defines the actual evaluation logic for one item.
|
boolean |
isRootAllowed()
Deprecated.
|
void |
setDefaultItemId(Object defaultItemId)
Deprecated.
|
void |
setRootAllowed(boolean rootAllowed)
Deprecated.
|
isAvailable
public boolean isRootAllowed()
public void setRootAllowed(boolean rootAllowed)
public Object getDefaultItemId()
public void setDefaultItemId(Object defaultItemId)
protected boolean isAvailableForItem(Object itemId)
AbstractAvailabilityRule
isAvailableForItem
in class AbstractAvailabilityRule
Copyright © 2020 Magnolia International Ltd.. All rights reserved.