public class ItemFilterUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
EMPTY_PROPERTIES |
static java.lang.String[] |
EXCLUDED_NODE_TYPES_DEFAULT |
static java.lang.String[] |
EXCLUDED_PARAGRAPH_ITEMS_DEFAULT |
static java.lang.String[] |
EXCLUDED_PROPERTIES_DEFAULT |
static java.lang.String |
PARAMETER_EXCLUDED_NODE_TYPES
Excluded node types parameter name to use for your Service Configuration.
|
static java.lang.String |
PARAMETER_EXCLUDED_PARAGRAPH_ITEMS
Excluded paragraph items parameter name to use for your Service Configuration.
|
static java.lang.String |
PARAMETER_EXCLUDED_PROPERTIES
Excluded properties parameter name to use for your Service Configuration.
|
Constructor and Description |
---|
ItemFilterUtil() |
Modifier and Type | Method and Description |
---|---|
static ItemFilterImpl |
createComponentFilter(java.util.Dictionary properties,
RolloutManager rolloutManager)
Creates an ItemFilterImpl from the given Properties with the name
PARAMETER_EXCLUDED_NODE_TYPES and
PARAMETER_EXCLUDED_PARAGRAPH_ITEMS Properties default to empty. |
static ItemFilterImpl |
createComponentFilter(ValueMap config,
RolloutManager rolloutManager)
Helper method to create a component filter using a
ValueMap |
static ItemFilterImpl |
createFilter(java.lang.String[] nodeTypes,
java.lang.String[] nodeNames,
java.lang.String[] propertyNames,
RolloutManager rolloutManager)
Creates an ItemFilterImpl based on a set of patterns that will be used to match NodeTypes, Node names and
Property names.
|
static ItemFilterImpl |
createPageFilter(java.util.Dictionary properties,
RolloutManager rolloutManager)
Creates an ItemFilterImpl from the given Properties with the name
PARAMETER_EXCLUDED_NODE_TYPES and
PARAMETER_EXCLUDED_PROPERTIES Properties default to empty. |
static ItemFilterImpl |
createPageFilter(ValueMap config,
RolloutManager rolloutManager)
Helper method to create a page filter using a
ValueMap |
public static final java.lang.String[] EMPTY_PROPERTIES
public static final java.lang.String PARAMETER_EXCLUDED_PROPERTIES
public static final java.lang.String[] EXCLUDED_PROPERTIES_DEFAULT
public static final java.lang.String PARAMETER_EXCLUDED_PARAGRAPH_ITEMS
public static final java.lang.String[] EXCLUDED_PARAGRAPH_ITEMS_DEFAULT
public static final java.lang.String PARAMETER_EXCLUDED_NODE_TYPES
public static final java.lang.String[] EXCLUDED_NODE_TYPES_DEFAULT
public static ItemFilterImpl createPageFilter(java.util.Dictionary properties, RolloutManager rolloutManager)
PARAMETER_EXCLUDED_NODE_TYPES
and
PARAMETER_EXCLUDED_PROPERTIES
properties
- used for configurationrolloutManager
- to access the roll-out reserved settings.public static ItemFilterImpl createComponentFilter(java.util.Dictionary properties, RolloutManager rolloutManager)
PARAMETER_EXCLUDED_NODE_TYPES
and
PARAMETER_EXCLUDED_PARAGRAPH_ITEMS
properties
- used for configurationrolloutManager
- to access the roll-out reserved settings.public static ItemFilterImpl createPageFilter(ValueMap config, RolloutManager rolloutManager)
ValueMap
#createPageFilter(java.util.Dictionary, com.day.cq.wcm.msm.api.RolloutManager)
public static ItemFilterImpl createComponentFilter(ValueMap config, RolloutManager rolloutManager)
ValueMap
#createComponentFilter(java.util.Dictionary, com.day.cq.wcm.msm.api.RolloutManager)
public static ItemFilterImpl createFilter(java.lang.String[] nodeTypes, java.lang.String[] nodeNames, java.lang.String[] propertyNames, RolloutManager rolloutManager)
nodeTypes
- RegExp pattern of NodeType names to filternodeNames
- RegExp pattern of Node names to filterpropertyNames
- RegExp pattern of Property Names to filterrolloutManager
- a RolloutManager
to serve as the default filter if the above pattern sets are emptyItemFilterImpl
instance"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"