Class MondrianImportHandler
- java.lang.Object
-
- org.pentaho.platform.plugin.services.importer.MondrianImportHandler
-
- All Implemented Interfaces:
IPlatformImportHandler
public class MondrianImportHandler extends Object implements IPlatformImportHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DATA_SOURCE
protected static String
DEFAULT_PROVIDER
protected static String
DOMAIN_ID
protected static String
ENABLE_XMLA
protected static String
PARAMETERS
protected static String
PROVIDER
-
Constructor Summary
Constructors Constructor Description MondrianImportHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes, IMondrianCatalogService mondrianImporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MondrianCatalog
createCatalogObject(String catName, boolean xmlaEnabled, org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle)
Helper method to create a catalog objectList<org.pentaho.platform.api.mimetype.IMimeType>
getMimeTypes()
void
importFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle)
**************************************** Main entry point from the Spring Interface
-
-
-
Field Detail
-
PARAMETERS
protected static final String PARAMETERS
- See Also:
- Constant Field Values
-
ENABLE_XMLA
protected static final String ENABLE_XMLA
- See Also:
- Constant Field Values
-
DOMAIN_ID
protected static final String DOMAIN_ID
- See Also:
- Constant Field Values
-
DATA_SOURCE
protected static final String DATA_SOURCE
- See Also:
- Constant Field Values
-
PROVIDER
protected static final String PROVIDER
- See Also:
- Constant Field Values
-
DEFAULT_PROVIDER
protected static final String DEFAULT_PROVIDER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MondrianImportHandler
public MondrianImportHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes, IMondrianCatalogService mondrianImporter)
-
-
Method Detail
-
importFile
public void importFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle) throws PlatformImportException, org.pentaho.metadata.repository.DomainIdNullException, org.pentaho.metadata.repository.DomainAlreadyExistsException, org.pentaho.metadata.repository.DomainStorageException, IOException
**************************************** Main entry point from the Spring Interface- Specified by:
importFile
in interfaceIPlatformImportHandler
- Parameters:
IPlatformImportBundle
-- Throws:
IOException
org.pentaho.metadata.repository.DomainStorageException
org.pentaho.metadata.repository.DomainAlreadyExistsException
org.pentaho.metadata.repository.DomainIdNullException
PlatformImportException
SAXException
ParserConfigurationException
-
createCatalogObject
protected MondrianCatalog createCatalogObject(String catName, boolean xmlaEnabled, org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle) throws ParserConfigurationException, SAXException, IOException, PlatformImportException
Helper method to create a catalog object
-
getMimeTypes
public List<org.pentaho.platform.api.mimetype.IMimeType> getMimeTypes()
- Specified by:
getMimeTypes
in interfaceIPlatformImportHandler
-
-