« ModelManager (code) » : différence entre les versions
Ligne 55 : | Ligne 55 : | ||
|- | |- | ||
|[[AddCustomIndex (MM)|AddCustomIndex]] | |[[AddCustomIndex (MM)|AddCustomIndex]] | ||
|Ajoute un index personnalisé{{Version710}} | |Ajoute un index personnalisé {{Version710}} | ||
|- | |- | ||
|[[AddSearchKey (MM)|AddSearchKey]] | |[[AddSearchKey (MM)|AddSearchKey]] | ||
|Ajoute une clé de recherche{{Version710}} | |Ajoute une clé de recherche {{Version710}} | ||
|- | |- | ||
|[[AddSearchKey (MM)|RegisterSearchKey]] | |[[AddSearchKey (MM)|RegisterSearchKey]] | ||
|Ajoute une clé de recherche{{Version710}} | |Ajoute une clé de recherche {{Version710}} | ||
|- | |- | ||
|[[RmvSearchKey (MM)|RmvSearchKey]] | |[[RmvSearchKey (MM)|RmvSearchKey]] | ||
|Supprime une clé de recherche{{Version710}} | |Supprime une clé de recherche {{Version710}} | ||
|- | |- | ||
|[[SetClassProtection (MM)|SetClassProtection]] | |[[SetClassProtection (MM)|SetClassProtection]] | ||
|Active la protection sur une classe{{Version800}} | |Active la protection sur une classe {{Version800}} | ||
|- | |- | ||
|[[SetAttributeProtection (MM)|SetAttributeProtection]] | |[[SetAttributeProtection (MM)|SetAttributeProtection]] | ||
|Active la protection sur un | |Active la protection sur un attribu {{Version800}} | ||
|- | |- | ||
|[[SetAttributeUnicode (MM)|SetAttributeUnicode]] | |[[SetAttributeUnicode (MM)|SetAttributeUnicode]] | ||
|Active l'unicode sur un attribut{{Version800}} | |Active l'unicode sur un attribut {{Version800}} | ||
|- | |||
|[[SetAttributePersonalData (MM)|SetAttributePersonalData]] | |||
|Qualifie l'attribut comme donnée personnelle {{Version800}} | |||
|- | |||
|[[SetAttributeSensitiveData (MM)|SetAttributeSensitiveData]] | |||
|Qualifie l'attribut comme donnée personnelle sensible {{Version800}} | |||
|} | |} | ||
Version du 29 mars 2018 à 08:25
Introduction
Le « ModelManager » est un objet singleton global qui offre des services pour l'introspection du modèle métier.
L’accès se fait à travers la variable globale « ModelManager ».
Propriétés :
PackageCount | integer | read only | Retourne le nombre de paquets métiers. |
Packages[index] | TPackageInfo | read only | Retourne un objet du modèle représentant le paquet. |
ClassCount | integer | read only | Retourne le nombre de classes métiers. |
Classes[index] | TRegClassInfo | read only | Retourne un objet du modèle représentant une classe. |
Fonctions :
FindPackage | Cette fonction recherche un paquet dans le modèle métier. |
FindClass | Cette fonction recherche une classe dans le modèle métier. |
FindProperty | Cette fonction recherche une propriété dans le modèle métier à partir d'un chemin. |
RegisterEventHandler | Cette fonction enregistre un handler d'évènement. |
UnRegisterEventHandler | Cette fonction dèsenregistre un handler d'évènement. |
FireEvent | Cette fonction déclenche un évènement. |
GetEnumName | Cette fonction retourne le littéral d'une valeur d'énuméré. |
AddCustomIndex | stock}} |
AddSearchKey | stock}} |
RegisterSearchKey | stock}} |
RmvSearchKey | stock}} |
SetClassProtection | stock}} |
SetAttributeProtection | stock}} |
SetAttributeUnicode | stock}} |
SetAttributePersonalData | stock}} |
SetAttributeSensitiveData | stock}} |
{{#if:Code métier|
{{#if:Code métier|— Code métier |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}