Package | Description |
---|---|
org.pentaho.platform.plugin.action.mondrian.catalog | |
org.pentaho.platform.plugin.services.importer |
Modifier and Type | Method and Description |
---|---|
MondrianCatalog |
MondrianCatalogHelper.getCatalog(String context,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession) |
MondrianCatalog |
IMondrianCatalogService.getCatalog(String context,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession)
Returns the catalog with the given context - name or definition allowable.
|
protected MondrianCatalog |
MondrianCatalogHelper.getCatalogFromCache(String context,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession) |
Modifier and Type | Method and Description |
---|---|
protected List<MondrianCatalog> |
MondrianCatalogHelper.filter(List<MondrianCatalog> origList,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession,
boolean jndiOnly) |
protected List<MondrianCatalog> |
MondrianCatalogHelper.getCatalogs(org.pentaho.platform.api.engine.IPentahoSession pentahoSession) |
List<MondrianCatalog> |
MondrianCatalogHelper.listCatalogs(org.pentaho.platform.api.engine.IPentahoSession pentahoSession,
boolean jndiOnly) |
List<MondrianCatalog> |
IMondrianCatalogService.listCatalogs(org.pentaho.platform.api.engine.IPentahoSession pentahoSession,
boolean jndiOnly)
Lists all catalogs (filtered according to access control rules).
|
protected Map<String,MondrianCatalog> |
MondrianCatalogHelper.makeCatalogMap(List<MondrianCatalog> cats) |
protected List<MondrianCatalog> |
MondrianCatalogHelper.transformIntoCatalogList(mondrian.xmla.DataSourcesConfig.DataSources dataSources,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MondrianCatalogHelper.addCatalog(InputStream inputStream,
MondrianCatalog catalog,
boolean overwriteInRepossitory,
org.pentaho.platform.api.engine.IPentahoSession session)
pass the input stream directly from data access PUC and schema workbench
|
void |
IMondrianCatalogService.addCatalog(InputStream inputStream,
MondrianCatalog catalog,
boolean overwriteInRepossitory,
org.pentaho.platform.api.engine.IPentahoSession session)
pass the input stream directly from data access PUC and schema workbench
|
void |
IAclAwareMondrianCatalogService.addCatalog(InputStream inputStream,
MondrianCatalog catalog,
boolean overwriteInRepository,
org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl,
org.pentaho.platform.api.engine.IPentahoSession session)
Pass the input stream directly from data access PUC and schema workbench
|
void |
MondrianCatalogHelper.addCatalog(InputStream schemaInputStream,
MondrianCatalog catalog,
boolean overwrite,
org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession)
new method to pass the input stream directly from data access put and post schema
|
void |
MondrianCatalogHelper.addCatalog(MondrianCatalog catalog,
boolean overwrite,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession)
use the in memory session value of input stream (used by test harness)
|
void |
IMondrianCatalogService.addCatalog(MondrianCatalog catalog,
boolean overwrite,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession)
Adds to the global catalog list and possibly persists this information.
|
protected boolean |
MondrianCatalogHelper.catalogExists(MondrianCatalog catalog,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession)
Performs a search for an existing catalog based on the datasource info and catalog definition.
|
protected boolean |
MondrianCatalogHelper.hasAccess(MondrianCatalog cat,
org.pentaho.platform.api.repository2.unified.RepositoryFilePermission permission)
This (hacky) implementation bases its decision on whether or not the user has the permission (indicated by
CatalogPermission ) based on whether the user has permission on the file in the solution repository
indicated by catalog.getDefinition() . |
Modifier and Type | Method and Description |
---|---|
protected List<MondrianCatalog> |
MondrianCatalogHelper.filter(List<MondrianCatalog> origList,
org.pentaho.platform.api.engine.IPentahoSession pentahoSession,
boolean jndiOnly) |
protected Map<String,MondrianCatalog> |
MondrianCatalogHelper.makeCatalogMap(List<MondrianCatalog> cats) |
Modifier and Type | Method and Description |
---|---|
protected MondrianCatalog |
MondrianImportHandler.createCatalogObject(String catName,
boolean xmlaEnabled,
org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle)
Helper method to create a catalog object
|
Copyright © 2019 Hitachi Vantara. All rights reserved.