public class JcrPrivilegeReport extends AbstractJcrReport
Report to retrieve the permissions granted to the reading session as defined
 by Session.hasPermission(String, String).
NOTE: the name of this report and the names of the privileges are
 misleading as they rather correspond to the actions defined by
 Session; while the JCR privileges s.str. have only been
 specified as of JSR 283 in the Privilege interface.
 A better name would have been JcrActionReport
| Modifier and Type | Field and Description | 
|---|---|
| static ReportType | PRIVILEGES_REPORTThe exportview report type | 
| Constructor and Description | 
|---|
| JcrPrivilegeReport() | 
| Modifier and Type | Method and Description | 
|---|---|
| ReportType | getType()Returns  PRIVILEGES_REPORTreport type. | 
| void | init(DavResource resource,
    ReportInfo info)Performs basic validation checks common to all JCR specific reports. | 
| boolean | isMultiStatusReport()Always returns  true. | 
| Element | toXml(Document document)Creates a Xml document from the generated view. | 
public static final ReportType PRIVILEGES_REPORT
public ReportType getType()
PRIVILEGES_REPORT report type.PRIVILEGES_REPORTReport.getType()public boolean isMultiStatusReport()
true.Report.isMultiStatusReport()public void init(DavResource resource, ReportInfo info) throws DavException
AbstractJcrReportinit in interface Reportinit in class AbstractJcrReportDavExceptionReport.init(DavResource, ReportInfo)public Element toXml(Document document)
document - XmlSerializable.toXml(Document)Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.