NAME
Kernel::System::GenericInterface::WebserviceHistory
DESCRIPTION
WebserviceHistory configuration history backend. It holds older versions of web service configuration data.
PUBLIC INTERFACE
new()
create a debug log object. Do not use it directly, instead use:
my $WebserviceHistoryObject = $Kernel::OM->Get('Kernel::System::GenericInterface::WebserviceHistory');
WebserviceHistoryAdd()
add new WebserviceHistory entry
my $ID = $WebserviceHistoryObject->WebserviceHistoryAdd(
WebserviceID => 2134,
Config => {
...
},
UserID => 123,
);
WebserviceHistoryGet()
get WebserviceHistory attributes
my $WebserviceHistory = $WebserviceHistoryObject->WebserviceHistoryGet(
ID => 123,
);
Returns:
$WebserviceHistory = {
Config => $ConfigRef,
WebserviceID => 123,
CreateTime => '2011-02-08 15:08:00',
ChangeTime => '2011-02-08 15:08:00',
};
WebserviceHistoryUpdate()
update WebserviceHistory attributes
my $Success = $WebserviceHistoryObject->WebserviceHistoryUpdate(
ID => 123,
WebserviceID => 123
Config => $ConfigHashRef,
UserID => 123,
);
WebserviceHistoryDelete()
delete WebserviceHistory
my $Success = $WebserviceHistoryObject->WebserviceHistoryDelete(
WebserviceID => 123,
UserID => 123,
);
WebserviceHistoryList()
get WebserviceHistory list for a GenericInterface web service
my @List = $WebserviceHistoryObject->WebserviceHistoryList(
WebserviceID => 1243,
);