public class ClearKeywordsReport extends Report
ClearKeywordsReport implements a report that removes all
keyword properties.| Constructor and Description |
|---|
ClearKeywordsReport(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 ClearKeywordsReport(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 the page where the property was removed.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