mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°6516 - Add @experimental PHP annotation on temporary objects features
This commit is contained in:
@@ -10,7 +10,6 @@ use Combodo\iTop\Form\Field\LabelField;
|
||||
use Combodo\iTop\Form\Field\TextAreaField;
|
||||
use Combodo\iTop\Form\Form;
|
||||
use Combodo\iTop\Form\Validator\CustomRegexpValidator;
|
||||
use Combodo\iTop\Form\Validator\LinkedSetValidator;
|
||||
use Combodo\iTop\Renderer\BlockRenderer;
|
||||
use Combodo\iTop\Renderer\Console\ConsoleBlockRenderer;
|
||||
use Combodo\iTop\Service\Links\LinkSetModel;
|
||||
@@ -7228,6 +7227,7 @@ class AttributeExternalKey extends AttributeDBFieldVoid
|
||||
return (int)$proposedValue;
|
||||
}
|
||||
|
||||
/** @inheritdoc @since 3.1 */
|
||||
public function WriteExternalValues(DBObject $oHostObject): void
|
||||
{
|
||||
$sTargetKey = $oHostObject->Get($this->GetCode());
|
||||
|
||||
@@ -6399,10 +6399,19 @@ abstract class DBObject implements iDisplay
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $aContext
|
||||
* Handle temporary descriptors.
|
||||
*
|
||||
* @return void
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @throws \ArchivedObjectException
|
||||
* @throws \CoreException
|
||||
* @throws \CoreUnexpectedValue
|
||||
* @throws \MySQLException
|
||||
* @throws \OQLException
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
private function HandleTemporaryDescriptor()
|
||||
{
|
||||
@@ -6412,7 +6421,13 @@ abstract class DBObject implements iDisplay
|
||||
}
|
||||
|
||||
/**
|
||||
* Return context information.
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
public function GetContext(): array
|
||||
{
|
||||
@@ -6425,6 +6440,10 @@ abstract class DBObject implements iDisplay
|
||||
* @param string $sSection
|
||||
* @param $value
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*
|
||||
*/
|
||||
public function SetContextSection(string $sSection, $value)
|
||||
{
|
||||
@@ -6432,9 +6451,15 @@ abstract class DBObject implements iDisplay
|
||||
}
|
||||
|
||||
/**
|
||||
* Get context section data.
|
||||
*
|
||||
* @param string $sSection
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
* experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
public function GetContextSection(string $sSection)
|
||||
{
|
||||
@@ -6446,9 +6471,15 @@ abstract class DBObject implements iDisplay
|
||||
}
|
||||
|
||||
/**
|
||||
* Test context section existence.
|
||||
*
|
||||
* @param string $sSection
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
public function HasContextSection(string $sSection): bool
|
||||
{
|
||||
|
||||
@@ -5,6 +5,11 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class TemporaryObjectDescriptor
|
||||
*
|
||||
* Descriptor to track a temporary object.
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,8 @@ use utils;
|
||||
*
|
||||
* Temporary object endpoints.
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
class TemporaryObjectController extends AbstractController
|
||||
|
||||
@@ -8,6 +8,15 @@ namespace Combodo\iTop\Service\TemporaryObjects;
|
||||
|
||||
use MetaModel;
|
||||
|
||||
/**
|
||||
* TemporaryObjectConfig.
|
||||
*
|
||||
* Handle temporary object configuration.
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
class TemporaryObjectConfig
|
||||
{
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ use iBackgroundProcess;
|
||||
*
|
||||
* Background task to collect and garbage expired temporary objects..
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
class TemporaryObjectGC implements iBackgroundProcess
|
||||
|
||||
@@ -11,6 +11,8 @@ namespace Combodo\iTop\Service\TemporaryObjects;
|
||||
*
|
||||
* Helper with useful functions.
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
class TemporaryObjectHelper
|
||||
|
||||
@@ -21,6 +21,8 @@ use utils;
|
||||
*
|
||||
* Manager class to perform global temporary objects tasks.
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
class TemporaryObjectManager
|
||||
|
||||
@@ -19,6 +19,8 @@ use TemporaryObjectDescriptor;
|
||||
*
|
||||
* Repository class to perform ORM tasks.
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
class TemporaryObjectRepository
|
||||
|
||||
@@ -11,6 +11,15 @@ use Combodo\iTop\Service\Events\Description\EventDescription;
|
||||
use Combodo\iTop\Service\Events\EventService;
|
||||
use Combodo\iTop\Service\Events\iEventServiceSetup;
|
||||
|
||||
/**
|
||||
* TemporaryObjectsEvents.
|
||||
*
|
||||
* Handle temporary objects events
|
||||
*
|
||||
* @experimental do not use, this feature will be part of a future version
|
||||
*
|
||||
* @since 3.1
|
||||
*/
|
||||
class TemporaryObjectsEvents implements iEventServiceSetup
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user