Merged DEV/WCM_SERVICES to HEAD

12099: WCM Services - "sandbox service" - add relative path support

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2008-11-24 16:05:46 +00:00
parent cad991db0c
commit ee71e258eb
6 changed files with 180 additions and 112 deletions

View File

@@ -26,6 +26,7 @@ package org.alfresco.wcm.sandbox;
import java.util.Date;
import org.alfresco.config.JNDIConstants;
import org.alfresco.service.namespace.QName;
/**
@@ -82,6 +83,16 @@ public class SandboxInfoImpl implements SandboxInfo
{
return this.creator;
}
public String getSandboxRootPath()
{
return "/"+JNDIConstants.DIR_DEFAULT_WWW;
}
public String getWebAppsPath()
{
return JNDIConstants.DIR_DEFAULT_WWW_APPBASE;
}
/**
* A list of names of the stores within this sandbox.