@Deprecated
public interface UgcNodeIndexerExtension
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.lang.String |
getIncludePaths()
Deprecated.
Return the include paths that should be observed for events to trigger indexing.
|
java.lang.String |
getName()
Deprecated.
Return the name of the index.
|
java.lang.String[] |
getPrimaryTypes()
Deprecated.
Return the node types that should be observed for events to trigger indexing.
|
java.util.List<UgcCategoryProperty> |
getUgcIndexedCategories(ResourceResolver resolver,
Node node)
Deprecated.
Given a node, return a list of Ugc Indexed Categories.
|
boolean |
isEnabled()
Deprecated.
Is this indexer extension enabled?
|
boolean |
suppportFacetedSearch()
Deprecated.
For Index extensonions that would need faceted search, this method should be overridden to return true.
|
boolean checkPrimaryType(NodeType primaryType)
primaryType
- the node type to check.boolean checkResourceType(java.lang.String resourceType)
resourceType
- the resource type to check.boolean checkResource(Resource resource)
resource
- the resource to check.boolean checkNode(Node node)
node
- the node to check.boolean checkEventModifiesIndex(Event event)
event
- Event to check.java.util.List<UgcIndexProperty> getAllUgcIndexProperties(ResourceResolver resolver, Node node) throws RepositoryException
resolver
- the ResourceResolver.node
- the node being indexed.RepositoryException
- thrown if there are issues with repository.java.util.List<UgcCategoryProperty> getUgcIndexedCategories(ResourceResolver resolver, Node node) throws RepositoryException
resolver
- the ResourceResolver.node
- the node being indexed.RepositoryException
- thrown if there are issues with repository.java.lang.String getName()
java.lang.String[] getPrimaryTypes()
java.lang.String getIncludePaths()
boolean suppportFacetedSearch()
boolean isEnabled()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"