Added skeletons for further dynamic field commands.

This commit is contained in:
Stefan Härter 2023-06-12 13:07:28 +02:00
parent 58bb23cbbd
commit 4cca01d8f1
3 changed files with 192 additions and 0 deletions

View File

@ -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 <https://www.gnu.org/licenses/>.
# --
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;

View File

@ -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 <https://www.gnu.org/licenses/>.
# --
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;

View File

@ -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 <https://www.gnu.org/licenses/>.
# --
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;