NAME
Kernel::WebApp::Util::Statistic – Helper class for the statistic functionality.
PUBLIC INTERFACE
has UserID
Attribute that holds the record user id.
has ID
Attribute that holds the statistic id.
has Type
Attribute that holds the statistic type.
has ObjectType
Attribute that holds the statistic object type.
has ObjectName
Attribute that holds the statistic object name.
has Data
Attribute that holds the complete statistic data (with attributes).
has SimpleData
Attribute that holds the statistic data.
has ConfiguredParams
Attribute that holds the configured params of the statistic instance.
has List
Attribute that holds all user information.
has ElementsXAxis
Attribute that holds all x Axis attributes.
has ElementsYAxis
Attribute that holds all y Axis attributes.
has ElementsRestriction
Attribute that holds all restriction attributes.
has LookupElementsXAxis
Attribute that holds a lookup for all x Axis attributes.
has LookupElementsYAxis
Attribute that holds a lookup for all y Axis attributes.
has LookupElementsRestriction
Attribute that holds a lookup for all restrictions.
has FormObject
This attribute contains the statistic form helper object.
Types()
Holds the statistic types.
ObjectTypes()
Holds the statistic object types.
GetFormSchema()
Builds the form schema for the requested form type ('Run', 'Widget', 'Create', 'Update', 'Report').
$StatisticUtil->GetFormSchema(
FormType => '(Run|Widget|Create|Update|Report)',
);
Returns the requested form schema.
GetUpdateData()
Builds the update data from the given request data.
$StatisticUtil->GetUpdateData(
ConfiguredParams => { ... },
);
Returns the transformed update data.
GetValue()
Helper function to get the value for the given 'Key' from the statistic data or the current statistic user data.
PRIVATE INTERFACE
has _SystemStatsObject
This attribute contains the business object.
has _SystemStatsUtilsObject
This attribute contains the system stats object.
_BuildSystemStatsObject()
Initializes the attribute _SystemStatsObject
.
_BuildSystemStatsUtilsObject()
Initializes the attribute _SystemStatsUtilsObject
.
_BuildFormObject()
Initializes the attribute FormObject
.
_BuildSimpleData()
Initializes the attribute SimpleData
.
_BuildData()
Initializes the attribute Data
.
_BuildType()
Initializes the attribute Type
.
_BuildObjectType()
Initializes the attribute ObjectType
.
_BuildObjectName()
Initializes the attribute ObjectName
.
_BuildList()
Initializes the attribute List
.
_BuildElementsXAxis()
Initializes the attribute ElementsXAxis
.
_BuildElementsYAxis()
Initializes the attribute ElementsYAxis
.
_BuildElementsRestriction()
Initializes the attribute ElementsRestriction
.
_BuildElements()
Helper function to build the element field objects.
_BuildLookupElementsXAxis()
Initializes the attribute LookupElementsXAxis
.
_BuildLookupElementsYAxis()
Initializes the attribute LookupElementsYAxis
.
_BuildLookupElementsRestriction()
Initializes the attribute LookupElementsRestriction
.