Class DetailsSummaryMacroParameters
java.lang.Object
com.xwiki.macros.confluence.detailssummary.macro.DetailsSummaryMacroParameters
Parameter bean class for the DetailsSummaryMacro. This class holds all the parameters that can be configured for the
macro.
- Since:
- 1.29.0
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCql()getId()getLabel()intgetMax()booleangetSort()voidvoidsetFirstcolumn(String firstcolumn) voidsetHeadings(String headings) voidvoidvoidsetMax(int max) voidsetOperator(String operator) voidsetReverse(boolean reverseSort) voidsetShowCreator(boolean showCreator) voidsetShowLastModified(boolean showLastModified) voidsetShowPageLabels(boolean showPageLabels) voidbooleanbooleanboolean
-
Constructor Details
-
DetailsSummaryMacroParameters
public DetailsSummaryMacroParameters()
-
-
Method Details
-
getId
- Returns:
- the unique identifier for the macro instance.
-
setId
- Parameters:
id- the id to set
-
getHeadings
- Returns:
- the headings to display in the macro output.
-
setHeadings
- Parameters:
headings- the headings to set
-
getCql
- Returns:
- the Confluence Query Language (CQL) query string used to filter content.
-
setCql
- Parameters:
cql- the Confluence Query Language (CQL) query string used to filter content.
-
getLabel
- Returns:
- the label to filter pages or content by.
-
setLabel
- Parameters:
label- the label to filter pages or content by.
-
getFirstcolumn
- Returns:
- the name of the first column to display in the output.
-
setFirstcolumn
- Parameters:
firstcolumn- the name of the first column to display in the output.
-
showLastModified
public boolean showLastModified()- Returns:
- true if last modified date should be shown, false otherwise
-
setShowLastModified
public void setShowLastModified(boolean showLastModified) - Parameters:
showLastModified- true to show last modified date, false otherwise
-
showPageLabels
public boolean showPageLabels()- Returns:
- true if page labels should be shown, false otherwise
-
setShowPageLabels
public void setShowPageLabels(boolean showPageLabels) - Parameters:
showPageLabels- true to show page labels, false otherwise
-
showCreator
public boolean showCreator()- Returns:
- true if creator should be shown, false otherwise
-
setShowCreator
public void setShowCreator(boolean showCreator) - Parameters:
showCreator- true to show creator, false otherwise
-
getOperator
- Returns:
- the operator used in filtering (e.g., AND, OR).
-
setOperator
- Parameters:
operator- the operator to set
-
getMax
public int getMax()- Returns:
- the max number of results
-
setMax
public void setMax(int max) - Parameters:
max- the max number of results
-
getSort
- Returns:
- the sort field
-
setSort
- Parameters:
sort- the sort field to set
-
getReverse
public boolean getReverse()- Returns:
- true if reverse sort, false otherwise
-
setReverse
public void setReverse(boolean reverseSort) - Parameters:
reverseSort- true to reverse sort, false otherwise
-