public class KeywordsReport extends Report
KeywordsReport implements a report that returns the paths of
all nodes with a given keyword property.| Constructor and Description |
|---|
KeywordsReport(String dataPath,
String keywordRelPath)
Creates a new report.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator |
getResult(Session session)
Runs the report and returns a result iterator over
Object[]
instances. |
public KeywordsReport(String dataPath, String keywordRelPath)
dataPath - the path where the content is stored. E.g.
'/content' or '' (empty String) if the complete
workspace should be considered.keywordRelPath - the relative path of the keyword property.public Iterator getResult(Session session) throws RepositoryException
Object[]
instances.
Returns result rows with the following objects:
String of a page.String[].getResult in class Reportsession - the session giving access to the workspace.Object[] results.RepositoryException - if an error occurs while reading from the
repository.Copyright © 2010 - 2020 Adobe. All Rights Reserved