NAME
Kernel::WebApp::Util::Statistic::Form – Helper class for the different statistic forms (x-axis, y-axis, filter and general stuff).
PUBLIC INTERFACE
has StatisticObject
Attribute that holds the current screen config object.
has ObjectNames
Attribute that holds the object names.
has LookupSavedActiveFields
Attribute that holds a lookup for all saved active fields.
has CurrentConfiguredParams
Attribute that holds the configured params during (e.g. during a update).
has LookupCurrentActiveFields
Attribute that holds a lookup for the current active fields.
has LookupAllActiveFields
Attribute that holds a lookup for all active restrictions.
has ActiveTimeField
Attribute that holds a lookup for all active restrictions.
has ActiveFieldXAxis
Attribute that holds a lookup for a possible active time field on the x axis.
has ActiveTimeFieldYAxis
Attribute that holds a lookup for a possible active time field on the y axis.
GetStatisticTypeFormSchema()
Builds the statistic type form schema for the requested form type ('Run', 'Widget', 'Create' and 'Update').
$StatisticUtilForm->GetStatisticTypeFormSchema(
FormType => '(Run|Widget|Create|Update|Report)',
);
Returns the statistic type form schema.
GetGeneralSpecificationFormSchema()
Builds the general specification form schema for the requested form type ('Run', 'Widget', 'Create' and 'Update').
$StatisticUtilForm->GetGeneralSpecificationFormSchema(
FormType => '(Run|Widget|Create|Update|Report)',
);
Returns the general form schema.
GetXAxisFormSchema()
Builds the x-axis form schema for the requested form type ('Run', 'Widget', 'Create' and 'Update').
$StatisticUtilForm->GetXAxisFormSchema(
FormType => '(Run|Widget|Create|Update|Report)',
);
Returns the general form schema.
GetYAxisFormSchema()
Builds the y-axis form schema for the requested form type ('Run', 'Widget', 'Create' and 'Update').
$StatisticUtilForm->GetYAxisFormSchema(
FormType => '(Run|Widget|Create|Update|Report)',
);
Returns the general form schema.
GetRestrictionFormSchema()
Builds the restriction form schema for the requested form type ('Run', 'Widget', 'Create' and 'Update').
$StatisticUtilForm->GetRestrictionFormSchema(
FormType => '(Run|Widget|Create|Update|Report)',
);
Returns the general form schema.
GetPreviewFormSchema()
Builds the form schema for the preview field.
$StatisticUtilForm->GetPreviewFormSchema(
FormType => '(Run|Widget|Create|Update|Report)',
);
Returns the static form schema.
GetStaticFormSchema()
Builds the static form schema for the requested form type ('Run', 'Widget', 'Create', 'Update' and 'Report').
$StatisticUtilForm->GetStaticFormSchema(
FormType => '(Run|Widget|Create|Update|Report)',
);
Returns the static form schema.
PRIVATE INTERFACE
_BuildObjectNames()
Initializes the attribute ObjectNames
.
has _GetStatisticDataValue
Helper function to get the current statistic data value.
has _BuildFormSelectForAvailableFields
Helper function to build the schema for the available fields.
has _TimeZoneBuildSelection
Helper function to build the time zone list.
has _GetValidTimeZone
Check if the time zone is valid.
_BuildLookupSavedActiveFields()
Initializes the attribute LookupSavedActiveFields
.
_BuildLookupCurrentActiveFields()
Initializes the attribute LookupCurrentActiveFields
.
_BuildLookupAllActiveFields()
Initializes the attribute LookupAllActiveFields
.
_BuildActiveTimeField()
Initializes the attribute ActiveTimeField
.
_BuildActiveFieldXAxis()
Initializes the attribute ActiveFieldXAxis
.
_BuildActiveTimeFieldYAxis()
Initializes the attribute ActiveTimeFieldYAxis
.