Changeset 7818
- Timestamp:
- 19.12.2006 19:09:29 (3 years ago)
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2.x/Jav_BDP/com/scenari/m/bdp/module/save/HModuleSave.java
r3117 r7818 271 271 try { 272 272 vWsp.hSaveItem(vResult, pHistoMode, vTrans); 273 vWsp.hGetRepository().hGetContentAccess().hDeleteRes(vResult.hGetId(), fItemType.hGetContentFormat(), pUriRes .endsWith("/") ? pUriRes.concat("*") : pUriRes, vTrans);273 vWsp.hGetRepository().hGetContentAccess().hDeleteRes(vResult.hGetId(), fItemType.hGetContentFormat(), pUriRes, vTrans); 274 274 vWsp.hTransactionCommit(vTrans); 275 275 } catch (Exception e) { -
trunk/Jav_BDP/com/scenari/m/bdp/itemcontent/IHContentAccess.java
r2389 r7818 158 158 /** 159 159 * Supprime la (les) ressource(s) correspondant �UriRes. 160 * Note : pUriRes peut se terminer par un '*' ou un '?*' pour supprimer toutes les ressources dont l'uri commence par pUriRes.161 160 * @param pTransaction peut �e <code>null</code>. 162 161 * @return : nombre de ressources supprim�. -
trunk/Jav_BDP/com/scenari/m/bdp/module/save/HModuleSave.java
r7589 r7818 270 270 try { 271 271 vWsp.hSaveItem(vResult, vTrans, pClientId); 272 vWsp.hGetRepository().hGetContentAccess().hDeleteRes(vResult.hGetId(), fItemType.hGetContentFormat(), pUriRes .endsWith("/") ? pUriRes.concat("*") : pUriRes, vTrans);272 vWsp.hGetRepository().hGetContentAccess().hDeleteRes(vResult.hGetId(), fItemType.hGetContentFormat(), pUriRes, vTrans); 273 273 vWsp.hTransactionCommit(vTrans); 274 274 } catch (Exception e) {