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:
@@ -67,8 +67,8 @@ public class AVMNode extends Node implements Map<String, Object>
|
||||
final ClientConfigElement config =
|
||||
Application.getClientConfig(FacesContext.getCurrentInstance());
|
||||
final String dns =
|
||||
AVMConstants.lookupStoreDNS(AVMConstants.getStoreName(node.getPath()));
|
||||
return AVMConstants.buildAssetUrl(AVMConstants.getSandboxRelativePath(node.getPath()),
|
||||
AVMUtil.lookupStoreDNS(AVMUtil.getStoreName(node.getPath()));
|
||||
return AVMUtil.buildAssetUrl(AVMUtil.getSandboxRelativePath(node.getPath()),
|
||||
config.getWCMDomain(),
|
||||
config.getWCMPort(),
|
||||
dns);
|
||||
@@ -85,7 +85,7 @@ public class AVMNode extends Node implements Map<String, Object>
|
||||
return null;
|
||||
}
|
||||
String s = node.getPath();
|
||||
s = AVMConstants.getSandboxRelativePath(s);
|
||||
s = AVMUtil.getSandboxRelativePath(s);
|
||||
final Path result = new Path();
|
||||
final String[] parts = s.split("/");
|
||||
for (int i = 1; i < parts.length; i++)
|
||||
|
Reference in New Issue
Block a user