mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 11:19:16 +02:00
35 lines
770 B
PHP
35 lines
770 B
PHP
<?php
|
|
|
|
namespace Icinga\Module\Director\Objects;
|
|
|
|
use Icinga\Module\Director\DirectorObject\Automation\ExportInterface;
|
|
|
|
abstract class IcingaObjectGroup extends IcingaObject implements ExportInterface
|
|
{
|
|
protected $supportsImports = true;
|
|
|
|
protected $supportedInLegacy = true;
|
|
|
|
protected $uuidColumn = 'uuid';
|
|
|
|
protected $defaultProperties = [
|
|
'id' => null,
|
|
'uuid' => null,
|
|
'object_name' => null,
|
|
'object_type' => null,
|
|
'disabled' => 'n',
|
|
'display_name' => null,
|
|
'assign_filter' => null,
|
|
];
|
|
|
|
public function getUniqueIdentifier()
|
|
{
|
|
return $this->getObjectName();
|
|
}
|
|
|
|
protected function prefersGlobalZone()
|
|
{
|
|
return true;
|
|
}
|
|
}
|