org.pentaho.platform.repository2.unified
Class DefaultServerRepositoryPathsStrategy
java.lang.Object
org.pentaho.platform.repository2.unified.DefaultServerRepositoryPathsStrategy
- All Implemented Interfaces:
- ServerRepositoryPaths.IServerRepositoryPathsStrategy
public class DefaultServerRepositoryPathsStrategy
- extends Object
- implements ServerRepositoryPaths.IServerRepositoryPathsStrategy
Default ServerRepositoryPaths.IServerRepositoryPathsStrategy implementation. Uses MessageFormat patterns.
- Author:
- mlowery
DefaultServerRepositoryPathsStrategy
public DefaultServerRepositoryPathsStrategy()
getPentahoRootFolderPath
public String getPentahoRootFolderPath()
- Specified by:
getPentahoRootFolderPath in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getTenantHomeFolderPath
public String getTenantHomeFolderPath(String tenantId)
- Specified by:
getTenantHomeFolderPath in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getTenantPublicFolderPath
public String getTenantPublicFolderPath(String tenantId)
- Specified by:
getTenantPublicFolderPath in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getTenantRootFolderPath
public String getTenantRootFolderPath(String tenantId)
- Specified by:
getTenantRootFolderPath in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getUserHomeFolderPath
public String getUserHomeFolderPath(String tenantId,
String username)
- Specified by:
getUserHomeFolderPath in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getPentahoRootFolderName
public String getPentahoRootFolderName()
- Specified by:
getPentahoRootFolderName in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getTenantHomeFolderName
public String getTenantHomeFolderName()
- Specified by:
getTenantHomeFolderName in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getTenantPublicFolderName
public String getTenantPublicFolderName()
- Specified by:
getTenantPublicFolderName in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getTenantEtcFolderName
public String getTenantEtcFolderName()
- Specified by:
getTenantEtcFolderName in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getTenantEtcFolderPath
public String getTenantEtcFolderPath(String tenantId)
- Specified by:
getTenantEtcFolderPath in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy
getTenantId
public String getTenantId(String absPath)
- Specified by:
getTenantId in interface ServerRepositoryPaths.IServerRepositoryPathsStrategy