@Model(adaptables=org.apache.sling.api.resource.Resource.class) public class ReferencesModel extends Object implements ReportCellCSVExporter
| Constructor and Description |
|---|
ReferencesModel(org.apache.sling.api.resource.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
List<com.adobe.granite.references.Reference> |
getReferences() |
String |
getValue(Object result)
Gets the CSV value from the specified result based on the column
configuration of the current cell.
|
void |
init() |
public ReferencesModel(org.apache.sling.api.resource.Resource resource)
public List<com.adobe.granite.references.Reference> getReferences()
public String getValue(Object result)
ReportCellCSVExportergetValue in interface ReportCellCSVExporterresult - the report result@PostConstruct public void init()
Copyright © 2013–2020 Adobe. All rights reserved.