mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Point checkin.
Reorg to allow sandbox-related constants to be accessed more easily from other compilation units. AVMConstants had become a dumping ground for things that had nothing to do with const values. Therefore, this is now AVMUtil, and sandbox-related constants have been moved to org.alfresco.sandbox.SandboxConstants, which builds in repository. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -354,9 +354,9 @@ public class AVMEditBean
|
||||
if (this.avmService.hasAspect(-1, avmPath, WCMAppModel.ASPECT_FORM_INSTANCE_DATA))
|
||||
{
|
||||
// reset the preview layer
|
||||
String storeName = AVMConstants.getStoreName(avmPath);
|
||||
storeName = AVMConstants.getCorrespondingPreviewStoreName(storeName);
|
||||
final String path = AVMConstants.buildStoreRootPath(storeName);
|
||||
String storeName = AVMUtil.getStoreName(avmPath);
|
||||
storeName = AVMUtil.getCorrespondingPreviewStoreName(storeName);
|
||||
final String path = AVMUtil.buildStoreRootPath(storeName);
|
||||
|
||||
if (LOGGER.isDebugEnabled())
|
||||
LOGGER.debug("reseting layer " + path);
|
||||
@@ -407,7 +407,7 @@ public class AVMEditBean
|
||||
if (node != null)
|
||||
{
|
||||
// Possibly notify virt server
|
||||
AVMConstants.updateVServerWebapp(node.getPath(), false);
|
||||
AVMUtil.updateVServerWebapp(node.getPath(), false);
|
||||
|
||||
resetState();
|
||||
outcome = AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME;
|
||||
@@ -463,14 +463,14 @@ public class AVMEditBean
|
||||
{
|
||||
final String path = AVMNodeConverter.ToAVMVersionPath(uploadedFile).getSecond();
|
||||
diffList.add(new AVMDifference(-1, path,
|
||||
-1, AVMConstants.getCorrespondingPathInMainStore(path),
|
||||
-1, AVMUtil.getCorrespondingPathInMainStore(path),
|
||||
AVMDifference.NEWER));
|
||||
}
|
||||
this.avmSyncService.update(diffList, null, true, true, true, true, null, null);
|
||||
}
|
||||
|
||||
// Possibly notify virt server
|
||||
AVMConstants.updateVServerWebapp(avmNode.getPath(), false);
|
||||
AVMUtil.updateVServerWebapp(avmNode.getPath(), false);
|
||||
|
||||
resetState();
|
||||
|
||||
@@ -520,7 +520,7 @@ public class AVMEditBean
|
||||
this.regenerateRenditions();
|
||||
}
|
||||
// Possibly notify virt server
|
||||
AVMConstants.updateVServerWebapp(node.getPath(), false);
|
||||
AVMUtil.updateVServerWebapp(node.getPath(), false);
|
||||
|
||||
// clear action context
|
||||
resetState();
|
||||
|
Reference in New Issue
Block a user