Packagestimulsoft.report.dictionary.aggregateFunctions
Classpublic class StiAggregateFunctionService
InheritanceStiAggregateFunctionService Inheritance StiService Inheritance StiObject Inheritance Object
Subclasses StiAvgDecimalFunctionService, StiAvgIntFunctionService, StiCountDistinctFunctionService, StiCountFunctionService, StiFirstFunctionService, StiLastFunctionService, StiMaxDateFunctionService, StiMaxDecimalFunctionService, StiMaxIntFunctionService, StiMaxStrFunctionService, StiMedianDecimalFunctionService, StiMedianIntFunctionService, StiMinDateFunctionService, StiMinDecimalFunctionService, StiMinIntFunctionService, StiMinStrFunctionService, StiModeDecimalFunctionService, StiModeIntFunctionService, StiRankFunctionService, StiSumDecimalFunctionService, StiSumDistinctDecimalFunctionService, StiSumIntFunctionService, StiSumTimeFunctionService



Public Properties
 PropertyDefined By
 Inheritedproperties : StiRepositoryItems
StiService
  recureParam : Boolean
[read-only] Gets value, indicates that this function require a parameter.
StiAggregateFunctionService
  runningTotal : Boolean
StiAggregateFunctionService
 InheritedserviceCategory : String
[read-only] Gets a service category.
StiService
 InheritedserviceInfo : String
[read-only] Gets a service description.
StiService
 InheritedserviceName : String
[read-only] Gets a service name.
StiService
 InheritedserviceType : Class
[read-only] Gets a service type.
StiService
Protected Properties
 PropertyDefined By
  isFirstInit : Boolean = false
StiAggregateFunctionService
Public Methods
 MethodDefined By
  
StiAggregateFunctionService(runningTotal:Boolean = false)
StiAggregateFunctionService
  
calcItem(value:*):void
A value calculation.
StiAggregateFunctionService
 Inherited
clone(... args):Object
[override] Creates a new object that is a copy of the current instance.
StiService
 Inherited
equals(object:Object):Boolean
StiObject
  
Returns the type of the result.
StiAggregateFunctionService
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
  
Returns the calculation result.
StiAggregateFunctionService
  
init():void
First initialization.
StiAggregateFunctionService
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
 Inherited
[override] Creates a shallow copy of the current Collection.
StiService
 Inherited
StiService
  
reset():void
Reset result of total calculation.
StiAggregateFunctionService
Property Detail
isFirstInitproperty
protected var isFirstInit:Boolean = false

recureParamproperty 
recureParam:Boolean  [read-only]

Gets value, indicates that this function require a parameter.


Implementation
    public function get recureParam():Boolean
runningTotalproperty 
runningTotal:Boolean


Implementation
    public function get runningTotal():Boolean
    public function set runningTotal(value:Boolean):void
Constructor Detail
StiAggregateFunctionService()Constructor
public function StiAggregateFunctionService(runningTotal:Boolean = false)



Parameters
runningTotal:Boolean (default = false)
Method Detail
calcItem()method
public function calcItem(value:*):void

A value calculation.

Parameters

value:*

getResultType()method 
public function getResultType():Class

Returns the type of the result.

Returns
Class
getValue()method 
public function getValue():*

Returns the calculation result.

Returns
*
init()method 
public function init():void

First initialization.

reset()method 
public function reset():void

Reset result of total calculation.