PPR context node destroy logic

74 阅读1分钟

Master Data work center里搜索出100个PPR之后,通过点击Account 进入到BP search view, 再切换回PPR search view,发现之前搜索出的100个PPR 仍然存在:

 

clipboard1

 

 

1. 在trigger 同一workcenter内不同view的navigation之后,UI framework 调用navigation source view controller的WD_DESTROY 方法:

 

clipboard2

 

 

 

clipboard3

 

 

2. view controller super class的wd_destroy方法会调用context node的DESTROY方法:

 

clipboard4

 

 

因为view controller的context node是绑在component controller的context node上,因此collection wrapper不会被destory:

 

clipboard5

 

 

Collection wrapper包含的100个search result BOL entities 并未被销毁:

 

clipboard6