Class ReferencesModel
- java.lang.Object
-
- com.adobe.acs.commons.reports.models.ReferencesModel
-
- All Implemented Interfaces:
ReportCellCSVExporter
@Model(adaptables=org.apache.sling.api.resource.Resource.class) public class ReferencesModel extends Object implements ReportCellCSVExporter
-
-
Constructor Summary
Constructors Constructor Description ReferencesModel(org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.adobe.granite.references.Reference>getReferences()StringgetValue(Object result)Gets the CSV value from the specified result based on the column configuration of the current cell.voidinit()
-
-
-
Method Detail
-
getReferences
public List<com.adobe.granite.references.Reference> getReferences()
-
getValue
public String getValue(Object result)
Description copied from interface:ReportCellCSVExporterGets the CSV value from the specified result based on the column configuration of the current cell.- Specified by:
getValuein interfaceReportCellCSVExporter- Parameters:
result- the report result- Returns:
- the CSV rendered result
-
init
@PostConstruct public void init()
-
-