org.pentaho.platform.repository2.unified
Class ServerRepositoryPaths
java.lang.Object
org.pentaho.platform.repository2.unified.ServerRepositoryPaths
public class ServerRepositoryPaths
- extends Object
Class of static methods that return commonly needed absolute paths like "tenant root folder path."
- Author:
- mlowery
DEFAULT
public static final String DEFAULT
- See Also:
- Constant Field Values
SYSTEM_PROPERTY
public static final String SYSTEM_PROPERTY
- See Also:
- Constant Field Values
getPentahoRootFolderPath
public static String getPentahoRootFolderPath()
getTenantHomeFolderPath
public static String getTenantHomeFolderPath(String tenantId)
getTenantPublicFolderPath
public static String getTenantPublicFolderPath(String tenantId)
getTenantRootFolderPath
public static String getTenantRootFolderPath(String tenantId)
getUserHomeFolderPath
public static String getUserHomeFolderPath(String tenantId,
String username)
getTenantId
public static String getTenantId(String absPath)
- Returns the tenant id given an absolute path.
- Parameters:
absPath
- absolute path which will be parsed to determine the tenant id
- Returns:
- tenant id within the path
getTenantEtcFolderPath
public static String getTenantEtcFolderPath(String tenantId)
getTenantHomeFolderPath
public static String getTenantHomeFolderPath()
getTenantPublicFolderPath
public static String getTenantPublicFolderPath()
getTenantRootFolderPath
public static String getTenantRootFolderPath()
getUserHomeFolderPath
public static String getUserHomeFolderPath()
getTenantEtcFolderPath
public static String getTenantEtcFolderPath()
getTenantHomeFolderName
public static String getTenantHomeFolderName()
getTenantPublicFolderName
public static String getTenantPublicFolderName()
getPentahoRootFolderName
public static String getPentahoRootFolderName()
getTenantEtcFolderName
public static String getTenantEtcFolderName()
setStrategyName
public static void setStrategyName(String strategyName)