OpenXE/classes/Modules/SystemHealth/Service/SystemHealthServiceInterface.php

50 lines
1016 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?php
namespace Xentral\Modules\SystemHealth\Service;
interface SystemHealthServiceInterface
{
/**
* Create a SystemHealth
*
* @param int $systemHealthCategoryId
* @param string $name
* @param string $description
*
* @return int Created SystemHealth-ID
*/
public function create($systemHealthCategoryId, $name, $description = '');
/**
* Create a SystemHealth Category
*
* @param string $name
* @param string $description
*
* @return int Created SystemHealthCategory-ID
*/
public function createCategory($name, $description = '');
/**
* Delete SystemHealth by ID
*
* @param int $systemHealthId
*
* @return bool
*/
public function delete($systemHealthId);
/**
* Delete SystemHealthCategory by ID
*
* @param int $systemHealthCategoryId
*
* @return bool
*/
public function deleteCategory($systemHealthCategoryId);
}