Package com.day.crx.statistics.keyword
Class ClearKeywordsReport
- java.lang.Object
-
- com.day.crx.statistics.Report
-
- com.day.crx.statistics.keyword.ClearKeywordsReport
-
public class ClearKeywordsReport extends Report
ClearKeywordsReport
implements a report that removes all keyword properties.
-
-
Constructor Summary
Constructors Constructor Description ClearKeywordsReport(java.lang.String dataPath, java.lang.String keywordRelPath)
Creates a new report.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator
getResult(Session session)
Runs the report and returns a result iterator overObject[]
instances.
-
-
-
Constructor Detail
-
ClearKeywordsReport
public ClearKeywordsReport(java.lang.String dataPath, java.lang.String keywordRelPath)
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 Detail
-
getResult
public java.util.Iterator getResult(Session session) throws RepositoryException
Runs the report and returns a result iterator overObject[]
instances. Returns result rows with the following objects:- Path
String
of the page where the property was removed.
- Specified by:
getResult
in classReport
- Parameters:
session
- the session giving access to the workspace.- Returns:
- Iterator over
Object
results. - Throws:
RepositoryException
- if an error occurs while reading from the repository.
- Path
-
-