public class ConfiguredInheritance extends Object implements InheritanceConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
ConfiguredInheritance.AllComponentsAndResourcesInheritancePredicate
Deprecated.
since 5.3.5. Use
InheritancePredicate instead. |
static class |
ConfiguredInheritance.FilteredComponentInheritancePredicate
Deprecated.
since 5.3.5. Use
FilteredInheritancePredicate instead. |
static class |
ConfiguredInheritance.InheritNothingInheritancePredicate
Predicate for component inheritance that includes no components.
|
static class |
ConfiguredInheritance.NodeDepthComparator
Comparator for ordering nodes by depth placing nodes deeper in the hierarchy after those further up and ordering
nodes on the same level by the order they appear as siblings.
|
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENTS_ALL |
static String |
COMPONENTS_FILTERED |
static String |
COMPONENTS_NONE |
static String |
PROPERTIES_ALL |
static String |
PROPERTIES_NONE |
Constructor and Description |
---|
ConfiguredInheritance() |
Modifier and Type | Method and Description |
---|---|
Comparator<javax.jcr.Node> |
getComponentComparator() |
AbstractPredicate<javax.jcr.Node> |
getComponentPredicate() |
String |
getComponents() |
Boolean |
getEnabled() |
List<String> |
getNodeTypes() |
Boolean |
isEnabled() |
Boolean |
isInheritsComponents() |
Boolean |
isInheritsProperties() |
void |
setComponents(String components) |
void |
setEnabled(Boolean enabled) |
void |
setNodeComparatorClass(Class<? extends Comparator<javax.jcr.Node>> nodeComparatorClass) |
void |
setNodeTypes(List<String> nodeTypes) |
void |
setPredicateClass(Class<? extends AbstractPredicate<javax.jcr.Node>> predicateClass) |
void |
setProperties(String properties) |
public static final String COMPONENTS_ALL
public static final String COMPONENTS_NONE
public static final String COMPONENTS_FILTERED
public static final String PROPERTIES_ALL
public static final String PROPERTIES_NONE
public Boolean isEnabled()
isEnabled
in interface InheritanceConfiguration
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public String getComponents()
public void setComponents(String components)
public void setProperties(String properties)
public Boolean isInheritsProperties()
isInheritsProperties
in interface InheritanceConfiguration
public Boolean isInheritsComponents()
isInheritsComponents
in interface InheritanceConfiguration
public AbstractPredicate<javax.jcr.Node> getComponentPredicate()
getComponentPredicate
in interface InheritanceConfiguration
public void setPredicateClass(Class<? extends AbstractPredicate<javax.jcr.Node>> predicateClass)
public Comparator<javax.jcr.Node> getComponentComparator()
getComponentComparator
in interface InheritanceConfiguration
public void setNodeComparatorClass(Class<? extends Comparator<javax.jcr.Node>> nodeComparatorClass)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.