@Deprecated public abstract class AbstractUgcNodeIndexerExtension extends java.lang.Object implements UgcNodeIndexerExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_ENABLED
Deprecated.
The enabled property.
|
Constructor and Description |
---|
AbstractUgcNodeIndexerExtension()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkEventModifiesIndex(Event event)
Deprecated.
Check the event and return true if it indicates data has been modified that affects the index.
|
boolean |
checkNode(Node node)
Deprecated.
Check the node and return true if the node belongs in this index.
|
boolean |
checkPrimaryType(NodeType primaryType)
Deprecated.
Check the primary type and return true if the node belongs in this index.
|
boolean |
checkResource(Resource resource)
Deprecated.
Check the resource and return true if the node belongs in this index.
|
boolean |
checkResourceType(java.lang.String resourceType)
Deprecated.
Check the resource type and return true if the node belongs in this index.
|
java.util.List<UgcIndexProperty> |
getAllUgcIndexProperties(ResourceResolver resolver,
Node node)
Deprecated.
Given a node, return a list of UgcIndexProperties.
|
java.util.List<UgcCategoryProperty> |
getUgcIndexedCategories(ResourceResolver resolver,
Node node)
Deprecated.
Given a node, return a list of Ugc Indexed Categories.
|
abstract java.util.List<UgcIndexProperty> |
getUgcIndexProperties(ResourceResolver resolver,
Node node)
Deprecated.
Given a node, return a list of UgcIndexProperties.
|
boolean |
isEnabled()
Deprecated.
Return true if enabled.
|
boolean |
suppportFacetedSearch()
Deprecated.
For Index extensonions that would need faceted search, this method should be overridden to return true
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIncludePaths, getName, getPrimaryTypes
@Property(boolValue=true) public static final java.lang.String PROP_ENABLED
public AbstractUgcNodeIndexerExtension()
public boolean checkPrimaryType(NodeType primaryType)
checkPrimaryType
in interface UgcNodeIndexerExtension
primaryType
- the node type to check.public boolean checkResourceType(java.lang.String resourceType)
checkResourceType
in interface UgcNodeIndexerExtension
resourceType
- the resource type to check.public boolean checkResource(Resource resource)
checkResource
in interface UgcNodeIndexerExtension
resource
- the resource to check.public boolean checkNode(Node node)
checkNode
in interface UgcNodeIndexerExtension
node
- the node to check.public boolean checkEventModifiesIndex(Event event)
checkEventModifiesIndex
in interface UgcNodeIndexerExtension
event
- Event to check.public boolean isEnabled()
isEnabled
in interface UgcNodeIndexerExtension
public boolean suppportFacetedSearch()
suppportFacetedSearch
in interface UgcNodeIndexerExtension
public java.util.List<UgcIndexProperty> getAllUgcIndexProperties(ResourceResolver resolver, Node node) throws RepositoryException
getAllUgcIndexProperties
in interface UgcNodeIndexerExtension
resolver
- the ResourceResolver.node
- the node being indexed.RepositoryException
- thrown if there are issues with repository.public abstract java.util.List<UgcIndexProperty> getUgcIndexProperties(ResourceResolver resolver, Node node) throws RepositoryException
resolver
- the ResourceResolver.node
- the node being indexed.RepositoryException
- thrown if there are issues with repository.public java.util.List<UgcCategoryProperty> getUgcIndexedCategories(ResourceResolver resolver, Node node) throws RepositoryException
getUgcIndexedCategories
in interface UgcNodeIndexerExtension
resolver
- the ResourceResolver.node
- the node being indexed.RepositoryException
- thrown if there are issues with repository.Copyright © 2010 - 2020 Adobe. All Rights Reserved