Kernel::WebApp::Util::BusinessObject::Action::Base

NAME

Kernel::WebApp::Util::BusinessObject::Action::Base

DESCRIPTION

Business object action base class.

PUBLIC INTERFACE

has ActionName

Attribute that holds the internal action name.

has UserID

Attribute that holds the record user id.

has Config

Attribute that holds the config from the action.

has DirectExecution

Attribute that signals if the action supports direct execution only.

MethodParamValidationSchema()

Add the base validations.

BusinessObjectType()

Holds the business object type for the current action.

Action()

Holds the action name.

GetConfigKeys()

Holds the default config keys which will be passed from the sysconfig setting to the frontend.

GetConfigForFrontend()

Get the config only with the relevant keys for the frontend.

Hidden()

Defines if the action is hidden in the frontend.

HasPermission()

Check the permission for the action module. As the default we check always the group permission for the current config. For additional permission checks the function _CheckAdditionalPermission should be used.

_CheckAdditionalPermission()

Function for additional permission checks in the single actions.

_CheckGroups()

Helper function to check the groups from the action menu entry.

Scroll to Top