Class MondrianCatalogRepositoryHelper
- java.lang.Object
-
- org.pentaho.platform.plugin.services.importexport.legacy.MondrianCatalogRepositoryHelper
-
public class MondrianCatalogRepositoryHelper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MondrianCatalogRepositoryHelper.HostedCatalogInfo
Provides information on a catalog that the server hosts locally.class
MondrianCatalogRepositoryHelper.Olap4jServerInfo
-
Field Summary
Fields Modifier and Type Field Description static String
ETC_MONDRIAN_JCR_FOLDER
static String
ETC_OLAP_SERVERS_JCR_FOLDER
-
Constructor Summary
Constructors Constructor Description MondrianCatalogRepositoryHelper(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addHostedCatalog(InputStream mondrianFile, String catalogName, String datasourceInfo)
void
addOlap4jServer(String name, String className, String URL, String user, String password, Properties props)
void
addSchema(InputStream mondrianFile, String catalogName, String datasourceInfo)
Deprecated.void
deleteCatalog(String catalogName)
void
deleteHostedCatalog(String catalogName)
void
deleteOlap4jServer(String name)
MondrianCatalogRepositoryHelper.HostedCatalogInfo
getHostedCatalogInfo(String name)
List<String>
getHostedCatalogs()
Provides a list of the catalog names hosted locally on this server.Map<String,InputStream>
getModrianSchemaFiles(String catalogName)
org.pentaho.platform.api.repository2.unified.RepositoryFile
getMondrianCatalogFile(String catalogName)
MondrianCatalogRepositoryHelper.Olap4jServerInfo
getOlap4jServerInfo(String name)
List<String>
getOlap4jServers()
Provides a list of the catalog names which are not hosted on this server.boolean
hasAccess(String catalogName, EnumSet<org.pentaho.platform.api.repository2.unified.RepositoryFilePermission> perms, org.pentaho.platform.api.engine.IPentahoSession session)
-
-
-
Method Detail
-
addSchema
@Deprecated public void addSchema(InputStream mondrianFile, String catalogName, String datasourceInfo) throws Exception
Deprecated.- Throws:
Exception
-
addHostedCatalog
public void addHostedCatalog(InputStream mondrianFile, String catalogName, String datasourceInfo) throws Exception
- Throws:
Exception
-
deleteCatalog
public void deleteCatalog(String catalogName)
-
deleteHostedCatalog
public void deleteHostedCatalog(String catalogName)
-
addOlap4jServer
public void addOlap4jServer(String name, String className, String URL, String user, String password, Properties props)
-
deleteOlap4jServer
public void deleteOlap4jServer(String name)
-
getOlap4jServers
public List<String> getOlap4jServers()
Provides a list of the catalog names which are not hosted on this server. (generic olap4j connections)
-
getOlap4jServerInfo
public MondrianCatalogRepositoryHelper.Olap4jServerInfo getOlap4jServerInfo(String name)
-
getHostedCatalogs
public List<String> getHostedCatalogs()
Provides a list of the catalog names hosted locally on this server.
-
getHostedCatalogInfo
public MondrianCatalogRepositoryHelper.HostedCatalogInfo getHostedCatalogInfo(String name)
-
getModrianSchemaFiles
public Map<String,InputStream> getModrianSchemaFiles(String catalogName)
-
getMondrianCatalogFile
public org.pentaho.platform.api.repository2.unified.RepositoryFile getMondrianCatalogFile(String catalogName)
-
-