public class MondrianCatalogRepositoryHelper extends Object
Modifier and Type | Class and Description |
---|---|
class |
MondrianCatalogRepositoryHelper.HostedCatalogInfo
Provides information on a catalog that the server hosts locally.
|
class |
MondrianCatalogRepositoryHelper.Olap4jServerInfo |
Modifier and Type | Field and Description |
---|---|
static String |
ETC_MONDRIAN_JCR_FOLDER |
static String |
ETC_OLAP_SERVERS_JCR_FOLDER |
Constructor and Description |
---|
MondrianCatalogRepositoryHelper(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) |
Modifier and Type | Method and 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) |
public static final String ETC_MONDRIAN_JCR_FOLDER
public static final String ETC_OLAP_SERVERS_JCR_FOLDER
public MondrianCatalogRepositoryHelper(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
@Deprecated public void addSchema(InputStream mondrianFile, String catalogName, String datasourceInfo) throws Exception
Exception
public void addHostedCatalog(InputStream mondrianFile, String catalogName, String datasourceInfo) throws Exception
Exception
public void deleteCatalog(String catalogName)
public void deleteHostedCatalog(String catalogName)
public void addOlap4jServer(String name, String className, String URL, String user, String password, Properties props)
public void deleteOlap4jServer(String name)
public List<String> getOlap4jServers()
public MondrianCatalogRepositoryHelper.Olap4jServerInfo getOlap4jServerInfo(String name)
public List<String> getHostedCatalogs()
public MondrianCatalogRepositoryHelper.HostedCatalogInfo getHostedCatalogInfo(String name)
public Map<String,InputStream> getModrianSchemaFiles(String catalogName)
public org.pentaho.platform.api.repository2.unified.RepositoryFile getMondrianCatalogFile(String catalogName)
Copyright © 2018 Hitachi Vantara. All rights reserved.