NextDom\Model\Entity\Update
Update
Synopsis
class Update
extends BaseEntity
{
- // constants
- const TABLE_NAME = NextDomObj::UPDATE;
- // Inherited constants from BaseEntity
- const TABLE_NAME = '';
- // Inherited constants from BaseModel
- const TABLE_NAME = '';
- // members
- protected $localVersion;
- protected $remoteVersion;
- protected string $source = Common::MARKET;
- protected $status;
- protected boolean $_changeUpdate = false;
- // Inherited members from BaseEntity
- protected $id;
- // Inherited members from BaseModel
- protected bool $_changed;
- // methods
- public void __construct()
- public array getInfo()
- public string getSource()
- public $this setSource()
- public void doUpdate()
- public void preInstallUpdate()
- public void postInstallUpdate()
- public bool checkUpdate()
- public static null|string getLastAvailableVersion()
- public string getLocalVersion()
- public $this setLocalVersion()
- public string getRemoteVersion()
- public $this setRemoteVersion()
- public void deleteObjet()
- public void preSave()
- public void postSave()
- public void postRemove()
- public string getStatus()
- public $this setStatus()
- // Inherited methods from BaseModel
- public bool getChanged()
- public $this setChanged()
- public void updateChangeState()
- public string getTableName()
- public void save()
- public void remove()
- // Inherited methods from ConfigurationEntity
- public abstract void updateChangeState()
- public array|bool|mixed|null|string getConfiguration()
- public $this setConfiguration()
- // Inherited methods from LogicalIdEntity
- public abstract void updateChangeState()
- public string getLogicalId()
- public $this setLogicalId()
- // Inherited methods from NameEntity
- public abstract void updateChangeState()
- public string getName()
- public $this setName()
- // Inherited methods from RefreshEntity
- public void refresh()
- // Inherited methods from TypeEntity
- public abstract void updateChangeState()
- public string getType()
- public $this setType()
- public void isType()
Hierarchy
Extends
Uses
Tasks
Line | Task |
---|---|
434+ | : Bizarre, en gros le nom = logicialId |
Constants
Name | Value |
---|---|
TABLE_NAME | NextDomObj::UPDATE |
TABLE_NAME | '' |
TABLE_NAME | '' |
Members
protected
- $_changeUpdate
- $_changed — NextDom\Model\Entity\Parents\bool
- $configuration — string
- $id — integer
- $localVersion — string
- $logicalId — string
- $name — string
- $remoteVersion — string
- $source — string
- $status — string
- $type — string
Methods
public
- __construct()
- checkUpdate() — Vérifier si une mise à jour est disponible
- deleteObjet() — Supprime une information de mise à jour
- doUpdate() — Start update
- getInfo() — Obtenir les informations de la mise à jour
- getLastAvailableVersion() — Obtenir la dernière version disponible
- getLocalVersion()
- getRemoteVersion()
- getSource()
- getStatus()
- postInstallUpdate() — Lancer la procédure post installation
- postRemove()
- postSave() — Envoi un évènement
- preInstallUpdate() — Lance la procédure de préinstallation d'un objet
- preSave() — Prépare l'objet avant la sauvegarde
- setLocalVersion()
- setRemoteVersion()
- setSource()
- setStatus()
Inherited from NextDom\Model\Entity\Parents\BaseEntity
public
Inherited from NextDom\Model\Entity\Parents\BaseModel
public
- getChanged() — Get changed state
- getTableName()
- remove() — Remove the entity from the database
- save() — Save the entity in the database
- setChanged() — Set changed state
- updateChangeState() — Update change state if values are different
Inherited from NextDom\Model\Entity\Parents\ConfigurationEntity
public
Inherited from NextDom\Model\Entity\Parents\LogicalIdEntity
public
Inherited from NextDom\Model\Entity\Parents\NameEntity
public
Inherited from NextDom\Model\Entity\Parents\RefreshEntity
public
- refresh() — Rafraichit les informations à partir de la base de données