Package com.xwiki.macros.confluence
Class ConfluenceDetailsScriptService
- java.lang.Object
-
- com.xwiki.macros.confluence.ConfluenceDetailsScriptService
-
- All Implemented Interfaces:
org.xwiki.script.service.ScriptService
@Component @Singleton @Named("confluence.details") @Unstable public class ConfluenceDetailsScriptService extends Object implements org.xwiki.script.service.ScriptServiceConfluence details script services. Mostly to implement the detailssummary macro.- Since:
- 1.19.0
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ConfluenceDetailsScriptService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<String>>getDetails(String id, String headingsParam, List<Map<String,Object>> results)List<List<String>>getDetails(String id, String headingsParam, List<Map<String,Object>> results, String sortBy, boolean reverseSort)
-
-
-
Method Detail
-
getDetails
public List<List<String>> getDetails(String id, String headingsParam, List<Map<String,Object>> results)
- Parameters:
id- the id of the details macros to considerheadingsParam- the headings confluence parameterresults- the results of the CQL query of the detailsummary macro- Returns:
- the rows to display in the detailssummary macro given the provided details id, the headings parameter and the results
-
getDetails
public List<List<String>> getDetails(String id, String headingsParam, List<Map<String,Object>> results, String sortBy, boolean reverseSort)
- Parameters:
id- the id of the details macros to considerheadingsParam- the headings confluence parameterresults- the results of the CQL query of the detailsummary macrosortBy- the column to sort againstreverseSort- whether to reverse the sort- Returns:
- the rows to display in the detailssummary macro given the provided details id, the headings parameter and the results
-
-