From 4cca01d8f1072fa22d7631186a1aac1fec2422a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=A4rter?= Date: Mon, 12 Jun 2023 13:07:28 +0200 Subject: [PATCH] Added skeletons for further dynamic field commands. --- .../Command/Admin/DynamicField/Delete.pm | 64 +++++++++++++++++++ .../Command/Admin/DynamicField/List.pm | 64 +++++++++++++++++++ .../Command/Admin/DynamicField/Update.pm | 64 +++++++++++++++++++ 3 files changed, 192 insertions(+) create mode 100644 Kernel/System/Console/Command/Admin/DynamicField/Delete.pm create mode 100644 Kernel/System/Console/Command/Admin/DynamicField/List.pm create mode 100644 Kernel/System/Console/Command/Admin/DynamicField/Update.pm diff --git a/Kernel/System/Console/Command/Admin/DynamicField/Delete.pm b/Kernel/System/Console/Command/Admin/DynamicField/Delete.pm new file mode 100644 index 0000000..5d3bb7c --- /dev/null +++ b/Kernel/System/Console/Command/Admin/DynamicField/Delete.pm @@ -0,0 +1,64 @@ +# -- +# OTOBO is a web-based ticketing system for service organisations. +# -- +# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/ +# Copyright (C) 2019-2023 Rother OSS GmbH, https://otobo.de/ +# -- +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later version. +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# -- + +package Kernel::System::Console::Command::Admin::DynamicField::Delete; + +use strict; +use warnings; + +# core modules + +# CPAN modules + +# OTOBO modules + +our @ObjectDependencies = ( + +); + +=head1 NAME + +[name_placeholder] + +=head1 DESCRIPTION + +[description_placeholder] + +=head1 PUBLIC INTERFACE + +=head2 new() + +create an object. Do not use it directly, instead use: + +my $DeleteObject = $Kernel::OM->Get('Kernel::System::Console::Command::Admin::DynamicField::Delete'); + +=cut + +sub new { +my ( $Type, %Param ) = @_; + +# allocate new hash for object +my $Self = {%Param}; +bless( $Self, $Type ); + +return $Self; +} + +sub Run { +my ( $Self, %Param ) = @_; +} + +1; diff --git a/Kernel/System/Console/Command/Admin/DynamicField/List.pm b/Kernel/System/Console/Command/Admin/DynamicField/List.pm new file mode 100644 index 0000000..65d7a91 --- /dev/null +++ b/Kernel/System/Console/Command/Admin/DynamicField/List.pm @@ -0,0 +1,64 @@ +# -- +# OTOBO is a web-based ticketing system for service organisations. +# -- +# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/ +# Copyright (C) 2019-2023 Rother OSS GmbH, https://otobo.de/ +# -- +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later version. +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# -- + +package Kernel::System::Console::Command::Admin::DynamicField::List; + +use strict; +use warnings; + +# core modules + +# CPAN modules + +# OTOBO modules + +our @ObjectDependencies = ( + +); + +=head1 NAME + +[name_placeholder] + +=head1 DESCRIPTION + +[description_placeholder] + +=head1 PUBLIC INTERFACE + +=head2 new() + +create an object. Do not use it directly, instead use: + +my $ListObject = $Kernel::OM->Get('Kernel::System::Console::Command::Admin::DynamicField::List'); + +=cut + +sub new { +my ( $Type, %Param ) = @_; + +# allocate new hash for object +my $Self = {%Param}; +bless( $Self, $Type ); + +return $Self; +} + +sub Run { +my ( $Self, %Param ) = @_; +} + +1; diff --git a/Kernel/System/Console/Command/Admin/DynamicField/Update.pm b/Kernel/System/Console/Command/Admin/DynamicField/Update.pm new file mode 100644 index 0000000..2669179 --- /dev/null +++ b/Kernel/System/Console/Command/Admin/DynamicField/Update.pm @@ -0,0 +1,64 @@ +# -- +# OTOBO is a web-based ticketing system for service organisations. +# -- +# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/ +# Copyright (C) 2019-2023 Rother OSS GmbH, https://otobo.de/ +# -- +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later version. +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# -- + +package Kernel::System::Console::Command::Admin::DynamicField::Update; + +use strict; +use warnings; + +# core modules + +# CPAN modules + +# OTOBO modules + +our @ObjectDependencies = ( + +); + +=head1 NAME + +[name_placeholder] + +=head1 DESCRIPTION + +[description_placeholder] + +=head1 PUBLIC INTERFACE + +=head2 new() + +create an object. Do not use it directly, instead use: + +my $UpdateObject = $Kernel::OM->Get('Kernel::System::Console::Command::Admin::DynamicField::Update'); + +=cut + +sub new { +my ( $Type, %Param ) = @_; + +# allocate new hash for object +my $Self = {%Param}; +bless( $Self, $Type ); + +return $Self; +} + +sub Run { +my ( $Self, %Param ) = @_; +} + +1;