Class ServerRepositoryPaths


  • public class ServerRepositoryPaths
    extends Object
    Class of static methods that return commonly needed absolute paths like "tenant root folder path."
    Author:
    mlowery
    • Method Detail

      • getPentahoRootFolderPath

        public static String getPentahoRootFolderPath()
      • getTenantHomeFolderPath

        public static String getTenantHomeFolderPath​(org.pentaho.platform.api.mt.ITenant tenant)
      • getTenantPublicFolderPath

        public static String getTenantPublicFolderPath​(org.pentaho.platform.api.mt.ITenant tenant)
      • getTenantRootFolderPath

        public static String getTenantRootFolderPath​(org.pentaho.platform.api.mt.ITenant tenant)
      • getUserHomeFolderPath

        public static String getUserHomeFolderPath​(org.pentaho.platform.api.mt.ITenant tenant,
                                                   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​(org.pentaho.platform.api.mt.ITenant tenant)
      • getTenantHomeFolderPath

        public static String getTenantHomeFolderPath()
      • getTenantPublicFolderPath

        public static String getTenantPublicFolderPath()
      • getTenantRootFolderPath

        public static String getTenantRootFolderPath()
      • 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)