NAME
Kernel::WebApp::Controller::API::Role::ProvidesBusinessObjectUpdateCheck – Role that provides methods to manage business object list content.
PUBLIC INTERFACE
Provides methods to manage business object list content. The role consumer has to provide the method ValidationJSONBodyFields of role Kernel::WebApp::Controller::API::Role::ValidatesInputData, that will be extended with needed parameters to be validated.
has ItemDetailDataDynamicFields
This attribute contains the list of dynamic fields which should be included in the item detail data.
around ValidationJSONBodyFields
Injects validators
to the validation schema for needed business object list related fields. For more information, please refer to Kernel::WebApp::Controller::API::Role::ValidatesInputData.
BusinessObjectItemUpdateCheck()
This method call the instantiated business object driver module BusinessObjectItemUpdateCheck
method. The Parameters
and UserID
parameters are mandatory, but all additional given parameters will be forwarded to the original BusinessObjectItemUpdateCheck
method.
my $ItemList = $Self->BusinessObjectItemUpdateCheck(
Parameters => {
TicketIDs => [
{
TicketID => 123,
ChangeTime => '2019-03-10 10:46:36',
},
...
],
},
UserID => 123,
);
PRIVATE INTERFACE
_BuildItemDetailDataDynamicFields()
Initializes the attribute ItemDetailDataDynamicFields
.