Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user