Kernel::WebApp::Util::ConfigItem

NAME

Kernel::WebApp::Util::ConfigItem – Helper class for the configuration item functionality.

PUBLIC INTERFACE

has ID

Attribute that holds the configuration item id.

has Data

Attribute that holds the complete configuration item data (with attributes).

has VersionData

Attribute that holds the complete statistic data (with attributes).

has ClassList

Attribute that holds the current class list.

has UtilConfigItemObject

This attribute contains the utility configuration item object.

has DeploymentStateColors

Contains SLA list data lookup.

MethodParamValidationSchema()

Add the param validation schema for the push event modules.

ClassObject()

The /ClassObject() method loads the object for the given class id.

GetColumnTitlesForClasses()

Get the column titles for the given class columns.

ListData()

Get the list data from the current configuration item.

VersionListData()

Get the list data from the current configuration item version.

GetClassFilters()

Returns the the filters (with or without the filter field form schema) for the given ClassID or for all classes.

GetGlobalClassFilters()

Returns the the global class filters (with or without the filter field form schema) for the given FilterPathList from all classes.

GetClassDefinitionFieldObjectGet()

Returns the the class definition field object for the given path.

BuildXMLData()

Builds the xml data from the given given class data for the current class id from the configuration item or the given ClassID. The data will also directly be checked

    $ConfigItemUtil->BuildXMLData();

Returns the xml data or the validation result.

GetFormSchema()

Builds the form schema for a new configuration item or the current ID.

    $ConfigItemUtil->GetFormSchema();

Returns the form schema.

PRIVATE INTERFACE

_BuildUtilConfigItemObject()

Initializes the attribute UtilConfigItemObject.

has _LookupClassObjects

Attribute that holds the class objects (Kernel::WebApp::Util::ConfigItem::Class).

has _ConfigItemObject

This attribute contains the business object.

_BuildConfigItemObject()

Initializes the attribute _ConfigItemObject.

_BuildData()

Initializes the attribute Data.

_BuildVersionData()

Initializes the attribute VersionData.

_BuildClassList()

Initializes the attribute ClassList.

_BuildDeploymentStateColors()

Builds the deployment state colors in DeploymentStateColors.

has _GetDataValue

Helper function to get the current data value.

has _GetNameValidators

Helper function to get the validations for the attribute Name.

Scroll to Top