Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ReportCsf Class
Namespace
ReportCsf Constructors
The following are constructors for ReportCsf.
ReportCsf(label, description, formulaType, decimalPlaces, downGroup, downGroupType, acrossGroup, acrossGroupType, formula)
Signature
public ReportCsf(String label, String description, Reports.FormulaType formulaType, Integer decimalPlaces, String downGroup, Reports.CsfGroupType downGroupType, String acrossGroup, Reports.CsfGroupType acrossGroupType, String formula)
Parameters
-
label:
Type: String
The user-facing name of the custom summary formula.
-
description:
Type: String
The user-facing description of the custom summary formula.
-
formulaType:
Type: Reports.FormulaType
The format of the numbers in the custom summary formula.
-
decimalPlaces:
Type: Integer
The number of decimal places to include in numbers.
-
downGroup:
Type: String
The name of a row grouping when the downGroupType is CUSTOM; null otherwise.
-
downGroupType:
Type: Reports.CsfGroupType
Where to display
the aggregate of the custom summary formula.
-
acrossGroup:
Type: String
The name of a column grouping when the accrossGroupType is CUSTOM; null otherwise.
-
acrossGroupType:
Type: Reports.CsfGroupType
Where to display
the aggregate of the custom summary formula.
-
formula:
Type: String
The operations performed on values in the custom summary formula.
ReportCsf Methods
The following are methods for ReportCsf.
getAcrossGroupType()
Signature
public Reports.CsfGroupType getAcrossGroupType()
Return Value
Type: Reports.CsfGroupType
getDownGroupType()
Signature
public Reports.CsfGroupType getDownGroupType()
Return Value
Type: Reports.CsfGroupType
getFormulaType()
Signature
public Reports.FormulaType getFormulaType()
Return Value
Type: Reports.FormulaType
setAcrossGroup(acrossGroup)
Signature
public void setAcrossGroup(String acrossGroup)
Parameters
-
acrossGroup:
Type: String
Return Value
Type: void
setAcrossGroupType(value)
Signature
public void setAcrossGroupType(String value)
Parameters
-
value:
Type: String
For possible values, see Reports.CsfGroupType.
Return Value
Type: void
setAcrossGroupType(acrossGroupType)
Signature
public void setAcrossGroupType(Reports.CsfGroupType acrossGroupType)
Parameters
-
acrossGroupType:
Type: Reports.CsfGroupType
Return Value
Type: void
setDecimalPlaces(decimalPlaces)
Signature
public void setDecimalPlaces(Integer decimalPlaces)
Parameters
-
decimalPlaces:
Type: Integer
Return Value
Type: void
setDescription(description)
Signature
public void setDescription(String description)
Parameters
-
description:
Type: String
Return Value
Type: void
setDownGroup(downGroup)
Signature
public void setDownGroup(String downGroup)
Parameters
-
downGroup:
Type: String
Return Value
Type: void
setDownGroupType(value)
Signature
public void setDownGroupType(String value)
Parameters
-
value:
Type: String
For valid values, see Reports.CsfGroupType.
Return Value
Type: void
setDownGroupType(downGroupType)
Signature
public void setDownGroupType(Reports.CsfGroupType downGroupType)
Parameters
-
downGroupType:
Type: Reports.CsfGroupType
Return Value
Type: void
setFormula(formula)
Signature
public void setFormula(String formula)
Parameters
-
formula:
Type: String
Return Value
Type: void
setFormulaType(value)
Signature
public void setFormulaType(String value)
Parameters
-
value:
Type: String
For valid values, see Reports.FormulaType.
Return Value
Type: void
setFormulaType(formulaType)
Signature
public void setFormulaType(Reports.FormulaType formulaType)
Parameters
-
formulaType:
Type: Reports.FormulaType
Return Value
Type: void