Quintiq file version 2.0
|
#parent: #root
|
Method UpdateTypeIndex (
|
String name
|
)
|
{
|
TextBody:
|
[*
|
// DWE2 Dec-29-2016 (created)
|
traverse( this, AllBookmarkElement, e )
|
{
|
e.UpdateForeginKey( name );
|
}
|
|
// Change all immediate children parent name to the newly edited name
|
// so that the declarative parent relationship gets the correct parent
|
if( this.IsFolder() )
|
{
|
traverse( this, Children, children )
|
{
|
children.UpdateParent( name );
|
}
|
}
|
|
// Update assumption
|
traverse( this, Assumption, ass )
|
{
|
ass.UpdateForeignKey( name ) ;
|
}
|
|
Bookmark::ChangeKeyBookmarkTypeIndex( this, name );
|
*]
|
}
|