- Timestamp:
- 03/02/09 16:02:44 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_BDP_FS/com/scenari/m/bdp/item/fs/HContentAccessFs.java
r12843 r12932 50 50 import java.util.List; 51 51 52 import com.scenari.m.bdp.context.ContextBdp; 52 53 import com.scenari.m.bdp.item.IHItemDef; 53 54 import com.scenari.m.bdp.item.fs.TransfCacheMgr.CacheDef; … … 70 71 import com.scenari.src.feature.paths.SrcFeaturePaths; 71 72 import com.scenari.src.feature.random.SrcFeatureRandom; 72 import com.scenari.src.feature.refresh.SrcFeatureRefresh;73 73 import com.scenari.src.feature.rights.SrcFeatureRights; 74 74 import com.scenari.src.fs.mini.FsMiniFactory; … … 158 158 if (vItem == null) { return null; } 159 159 ISrcNode vItemSrc = vItem.getSource(); 160 // vItem.hRefresh();161 160 if (pTransforms == null) { 162 161 ISrcNode vSource; … … 431 430 432 431 if (vSource != vItemSource) { 433 //Si on a modifié une ressource dans l'item, on force un re freshde l'item.434 SrcFeatureRefresh.refresh(vItemSource);432 //Si on a modifié une ressource dans l'item, on force un recalcul de l'item. 433 vItem.reloadAfterUpdate(ContextBdp.getThreadClient()); 435 434 } 436 435 } … … 472 471 public final int hDeleteRes(IHItemDef pItemDef, String pFormat, String pUriRes, IHTransaction pTransaction) throws Exception { 473 472 XItemCache vItem = xGetItemCache(pItemDef); 474 // vItem.hRefresh();475 473 if (vItem == null) { return 0; } 476 474 ISrcNode vItemSrc = vItem.getSource(); … … 483 481 int vResult = vContent.removeSrc() ? 1 : 0; 484 482 if (vItemSrc != vContent) { 485 //Si on a modifié une ressource dans l'item, on force un re freshde l'item.486 SrcFeatureRefresh.refresh(vItemSrc);483 //Si on a modifié une ressource dans l'item, on force un recalcul de l'item. 484 vItem.reloadAfterUpdate(ContextBdp.getThreadClient()); 487 485 } 488 486 return vResult;
Note: See TracChangeset
for help on using the changeset viewer.