Class DefaultServerRepositoryPathsStrategy
- java.lang.Object
-
- org.pentaho.platform.repository2.unified.DefaultServerRepositoryPathsStrategy
-
- All Implemented Interfaces:
ServerRepositoryPaths.IServerRepositoryPathsStrategy
public class DefaultServerRepositoryPathsStrategy extends Object implements ServerRepositoryPaths.IServerRepositoryPathsStrategy
DefaultServerRepositoryPaths.IServerRepositoryPathsStrategy
implementation. Uses MessageFormat patterns.- Author:
- mlowery
-
-
Constructor Summary
Constructors Constructor Description DefaultServerRepositoryPathsStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPentahoRootFolderName()
String
getPentahoRootFolderPath()
String
getTenantEtcFolderName()
String
getTenantEtcFolderPath(org.pentaho.platform.api.mt.ITenant tenant)
String
getTenantHomeFolderName()
String
getTenantHomeFolderPath(org.pentaho.platform.api.mt.ITenant tenant)
String
getTenantId(String absPath)
String
getTenantPublicFolderName()
String
getTenantPublicFolderPath(org.pentaho.platform.api.mt.ITenant tenant)
String
getTenantRootFolderPath(org.pentaho.platform.api.mt.ITenant tenant)
String
getUserHomeFolderPath(org.pentaho.platform.api.mt.ITenant tenant, String username)
-
-
-
Method Detail
-
getPentahoRootFolderPath
public String getPentahoRootFolderPath()
- Specified by:
getPentahoRootFolderPath
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getTenantHomeFolderPath
public String getTenantHomeFolderPath(org.pentaho.platform.api.mt.ITenant tenant)
- Specified by:
getTenantHomeFolderPath
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getTenantPublicFolderPath
public String getTenantPublicFolderPath(org.pentaho.platform.api.mt.ITenant tenant)
- Specified by:
getTenantPublicFolderPath
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getTenantRootFolderPath
public String getTenantRootFolderPath(org.pentaho.platform.api.mt.ITenant tenant)
- Specified by:
getTenantRootFolderPath
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getUserHomeFolderPath
public String getUserHomeFolderPath(org.pentaho.platform.api.mt.ITenant tenant, String username)
- Specified by:
getUserHomeFolderPath
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getPentahoRootFolderName
public String getPentahoRootFolderName()
- Specified by:
getPentahoRootFolderName
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getTenantHomeFolderName
public String getTenantHomeFolderName()
- Specified by:
getTenantHomeFolderName
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getTenantPublicFolderName
public String getTenantPublicFolderName()
- Specified by:
getTenantPublicFolderName
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getTenantEtcFolderName
public String getTenantEtcFolderName()
- Specified by:
getTenantEtcFolderName
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getTenantEtcFolderPath
public String getTenantEtcFolderPath(org.pentaho.platform.api.mt.ITenant tenant)
- Specified by:
getTenantEtcFolderPath
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
getTenantId
public String getTenantId(String absPath)
- Specified by:
getTenantId
in interfaceServerRepositoryPaths.IServerRepositoryPathsStrategy
-
-