Kernel::System::Calendar::Plugin - Plugin lib
Abstraction layer for appointment plugins.
create an object. Do not use it directly, instead use:
use Kernel::System::ObjectManager;
local $Kernel::OM = Kernel::System::ObjectManager->new();
my $TeamObject = $Kernel::OM->Get('Kernel::System::Calendar::Plugin');
returns the hash of registered plugins
my $PluginList = $PluginObject->PluginList();
returns the hash of proper plugin keys for lowercase matching
my $PluginKeys = $PluginObject->PluginKeys();
link appointment by plugin
my $Success = $PluginObject->PluginLinkAdd(
AppointmentID => 1,
PluginKey => '0100-Ticket',
PluginData => '42',
UserID => 1,
);
returns list of links for supplied appointment
my $LinkList = $PluginObject->PluginLinkList(
AppointmentID => 1,
PluginKey => '0100-Ticket',
UserID => 1,
);
removes all links for an appointment
my $Success = $PluginObject->PluginLinkDelete(
AppointmentID => 1,
UserID => 1,
);
search for plugin objects
my $ResultList = $PluginObject->PluginSearch(
PluginKey => $PluginKey, # (required)
Search => $Search, # (required) Search string
# or
ObjectID => $ObjectID # (required) Object ID
UserID => $Self->{UserID}, # (required)
);
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.