Restituisce l'elenco di hook denominati con record di questo tipo.
Questo metodo restituisce l'elenco di hook denominati. Gli hook denominati (noti anche come hook di record nell'interfaccia utente Rational ClearQuest Designer) sono funzioni speciali utilizzate dai controlli del modulo Rational ClearQuest per implementare attività specifiche.
VBScript
entitydef.GetHookDefNames field_def_name
Perl
$entitydef->GetHookDefNames(field_def_name);
VBScript
set sessionObj = GetSession
set entityDefObj = sessionObj.GetEntityDef(GetEntityDefName())
sessionObj.OutputDebugString "Hooks of " & entityDefObj.GetName()
' List the record type's hooks
nameList = entityDefObj.GetHookDefNames()
For Each hookName in nameList
sessionObj.OutputDebugString hookName
Next
Perl
$sessionObj = $entity->GetSession();
$entityDefObj = $sessionObj->GetEntityDef($entity->GetEntityDefName());
$sessionObj->OutputDebugString("Hooks of
".$entityDefObj->GetName());
# List the record type's hooks
$nameList = $entityDefObj->GetHookDefNames();
foreach $hookName (@$nameList)
{
$sessionObj->OutputDebugString($hookName);
}