Package com.day.crx.statistics.keyword
Class KeywordsReport
java.lang.Object
com.day.crx.statistics.Report
com.day.crx.statistics.keyword.KeywordsReport
KeywordsReport implements a report that returns the paths of
all nodes with a given keyword property.-
Constructor Summary
ConstructorsConstructorDescriptionKeywordsReport(String dataPath, String keywordRelPath) Creates a new report. -
Method Summary
-
Constructor Details
-
KeywordsReport
Creates a new report.- Parameters:
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.
-
-
Method Details
-
getResult
Runs the report and returns a result iterator overObject[]instances. Returns result rows with the following objects:- Path
Stringof a page. - Keywords as
String[].
- Specified by:
getResultin classReport- Parameters:
session- the session giving access to the workspace.- Returns:
- Iterator over
Objectresults. - Throws:
RepositoryException- if an error occurs while reading from the repository.
- Path
-