mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
AVM DAO refactor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -128,7 +128,6 @@ public class AVMSubmitPackageHandler extends JBPMSpringActionHandler implements
|
||||
public Object doWork() throws Exception
|
||||
{
|
||||
fAVMSyncService.update(stagingDiffs, null, false, false, true, true, tag, description);
|
||||
AVMDAOs.Instance().fAVMNodeDAO.flush();
|
||||
fAVMSyncService.flatten(pkgPath.getSecond(), targetPath);
|
||||
|
||||
for (final AVMDifference diff : stagingDiffs)
|
||||
@@ -150,7 +149,6 @@ public class AVMSubmitPackageHandler extends JBPMSpringActionHandler implements
|
||||
// may get lost when the item is finally approved
|
||||
final List<AVMDifference> sandboxDiffs = fAVMSyncService.compare(pkgPath.getFirst(), pkgPath.getSecond(), -1, from, null);
|
||||
fAVMSyncService.update(sandboxDiffs, null, true, true, false, false, tag, description);
|
||||
AVMDAOs.Instance().fAVMNodeDAO.flush();
|
||||
fAVMSyncService.flatten(from, targetPath);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user