Deprecated API


Contents
Deprecated Interfaces
org.pentaho.platform.plugin.action.builtin.IConfiguredPojo
           
org.pentaho.platform.dataaccess.datasource.wizard.models.ICsvModelValidationListener
          CsvModel is deprecated, so this listener is as well 
org.pentaho.platform.dataaccess.datasource.wizard.models.IDataStagingCompleteListener
           
org.pentaho.platform.api.engine.IFileInfoGenerator
            
org.pentaho.platform.plugin.action.builtin.ILoggablePojo
           
org.pentaho.platform.api.ui.IMenuCustomization
          bi platform api now prefers IMenuCustomization 
org.pentaho.core.connection.IPentahoResultSet
          use org.pentaho.commons.connection.IPentahoResultSet 
org.pentaho.platform.api.engine.IStreamingPojoComponent
           
 

Deprecated Classes
org.pentaho.platform.web.servlet.ContextDiscoveryServlet
            
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel
          Use ModelInfo instead 
org.pentaho.platform.repository.solution.dbbased.ExtensionDbBasedSolutionRepository
          use DbBasedSolutionRepository 
org.pentaho.platform.repository.solution.filebased.ExtensionFileBasedSolutionRepository
          use FileBasedSolutionRepository 
org.pentaho.platform.plugin.action.jfreereport.components.JFreeReportConfigParameterComponent
            
org.pentaho.platform.plugin.action.jfreereport.components.JFreeReportDataComponent
            
org.pentaho.platform.plugin.action.jfreereport.components.JFreeReportGenerateDefinitionComponent
            
org.pentaho.platform.plugin.action.jfreereport.components.JFreeReportLoadComponent
          This code has known bugs and it is highly recommended that it not be used by any sane person 
org.pentaho.platform.plugin.action.jfreereport.components.JFreeReportParametersComponent
            
org.pentaho.platform.plugin.action.pentahometadata.MQLRelationalDataComponent
            
org.pentaho.platform.repository.hibernate.MySQL5Dialect
          Use org.hibernate.dialect.MySQL5Dialect instead 
org.pentaho.platform.repository.hibernate.MySQL5InnoDBDialect
          Use org.hibernate.dialect.MySQL5InnoDBDialect instead 
org.pentaho.platform.plugin.action.jfreereport.PentahoResourceBundleFactory
          This is an empty stub in case we have to maintain backward compatiblity. 
org.pentaho.plugin.jfreereport.helper.PentahoResourceLoader
            
org.pentaho.platform.plugin.action.jfreereport.PentahoTableModel
          This is an empty stub in case we have to maintain backward compatiblity. 
org.pentaho.platform.engine.services.metadata.cwm.PlatformCWMSchemaFactory
            
org.pentaho.platform.plugin.action.builtin.PojoComponent
           
org.pentaho.plugin.quartz.QuartzExecute
            
org.pentaho.platform.engine.services.metadata.cwm.SecurityAwareCwmSchemaFactory
            
org.pentaho.platform.plugin.action.jfreereport.TableModelWrapper
          This class is no longer used. 
org.pentaho.plugin.versionchecker.VersionCheckerJob
            
 

Deprecated Enums
org.pentaho.platform.api.engine.IFileInfoGenerator.ContentType
           
 

Deprecated Fields
org.pentaho.platform.api.engine.IPentahoAclEntry.PERM_ADMIN_ALL
          Do not use this constant; instead use FULL_CONTROL for truly inclusive all access. Old ADMIN_ALL (ie, WRITE) combination (31) 
 

Deprecated Methods
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.addCsvModelValidationListener(ICsvModelValidationListener)
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.clearModel()
          Use ModelInfo instead 
org.pentaho.platform.api.engine.IOutputHandler.contentDone()
          This method could never tell you if the content was actually done. Use IOutputHandler.isResponseExpected() if you need information about a handlers likelihood to generate a response. 
org.pentaho.platform.web.http.HttpOutputHandler.contentDone()
           
org.pentaho.platform.api.engine.IRuntimeContext.createFeedbackParameter(IActionParameter)
          Adds a feedback parameter for prompts based on an Action Parameter. Uses the Selections defined in the Action Parameter for the options and sets the default to the current value 
org.pentaho.platform.engine.services.runtime.RuntimeContext.createFeedbackParameter(IActionParameter)
          Unused 
org.pentaho.platform.engine.core.system.PentahoSystem.createObject(String)
           
org.pentaho.platform.engine.core.system.PentahoSystem.createObject(String, ILogger)
           
org.pentaho.platform.uifoundation.chart.ChartHelper.doDial(String, String, String, IParameterProvider, StringBuffer, IPentahoSession, ArrayList, ILogger)
          use doChart() instead 
org.pentaho.platform.uifoundation.chart.ChartHelper.doPieChart(String, String, String, IParameterProvider, StringBuffer, IPentahoSession, ArrayList, ILogger)
          use doChart instead 
org.pentaho.platform.api.repository.ISolutionRepository.getAllActionSequences()
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getAllActionSequences()
           
org.pentaho.platform.api.engine.IApplicationContext.getBaseUrl()
          Returns a URL to the server application, up to and including the context.

The URL that is returned is derived from the server context, and thus will include the protocol, host name, port, and application context root. 

org.pentaho.platform.engine.core.system.StandaloneApplicationContext.getBaseUrl()
           
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getBusinessData()
          Use ModelInfo instead 
org.pentaho.platform.uifoundation.chart.CategoryDatasetChartDefinition.getChartType(String)
          use JFreeChartEngine.getChartType(typeStr), which has all of the chart name options for conversion. 
org.pentaho.platform.api.engine.IPluginManager.getClassLoader(IPlatformPlugin)
          use IPluginManager.getClassLoader(String) 
org.pentaho.platform.api.engine.IFileInfoGenerator.getContentType()
           
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getDataRows()
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getDatasourceName()
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getDelimiter()
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getDelimiterList()
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getEnclosure()
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getEnclosureList()
          Use ModelInfo instead 
org.pentaho.platform.api.repository.ISolutionRepository.getFileByPath(String)
          use ISolutionRepository.getSolutionFile(String, int) 
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getFileByPath(String)
           
org.pentaho.platform.api.engine.IFileInfoGenerator.getFileInfo(String, String, String, byte[])
           
org.pentaho.platform.api.engine.IFileInfoGenerator.getFileInfo(String, String, String, Document)
           
org.pentaho.platform.api.engine.IFileInfoGenerator.getFileInfo(String, String, String, InputStream)
           
org.pentaho.platform.api.engine.IFileInfoGenerator.getFileInfo(String, String, String, String)
           
org.pentaho.platform.api.engine.IContentGeneratorInfo.getFileInfoGeneratorClassname()
          file info generators or solution file meta providers are now associated with content types, not content generators. This method is not called from within the platform. 
org.pentaho.platform.plugin.action.mondrian.MondrianModelComponent.getInitialQuery(String, String, String, IPentahoSession)
            
org.pentaho.platform.plugin.action.mondrian.MondrianModelComponent.getInitialQuery(String, String, String, String, IPentahoSession)
            
org.pentaho.platform.plugin.action.mondrian.MondrianModelComponent.getInitialQuery(String, String, String, String, String, String, IPentahoSession)
            
org.pentaho.platform.plugin.action.mondrian.MondrianModelComponent.getInitialQuery(String, String, String, String, String, String, String, IPentahoSession)
            
org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogHelper.getInstance()
          Please use PentahoSystem.get to get the Mondrian Catalog Service 
org.pentaho.platform.repository.content.ContentItem.getLatestVersionNum()
            
org.pentaho.platform.api.repository.ISolutionRepository.getLocalizedFileProperty(ISolutionFile, String)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getLocalizedFileProperty(ISolutionFile, String)
           
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getMessages()
          Use ModelInfo instead 
org.pentaho.platform.web.http.HttpOutputHandler.getOutputContent()
          use HttpOutputHandler.getOutputContentItem(String, String, String, String, String) 
org.pentaho.platform.plugin.services.pluginmgr.PluginClassLoader.getPluginAbsPath()
           
org.pentaho.platform.api.engine.IPluginManager.getPluginSetting(IPlatformPlugin, String, String)
          use IPluginManager.getPluginSetting(String, String, String) 
org.pentaho.platform.api.repository.ISolutionRepository.getResourceAsBytes(IActionSequenceResource, boolean)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceAsBytes(IActionSequenceResource, boolean)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceAsBytes(String, boolean)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceAsBytes(String, boolean)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceAsDocument(IActionSequenceResource)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceAsDocument(IActionSequenceResource)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceAsDocument(String)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceAsDocument(String)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceAsString(IActionSequenceResource)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceAsString(IActionSequenceResource)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceAsString(String)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceAsString(String)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceDataSource(IActionSequenceResource)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceDataSource(IActionSequenceResource)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceDataSource(String)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceDataSource(String)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceInputStream(IActionSequenceResource, boolean)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(IActionSequenceResource, boolean)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceInputStream(String, boolean)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(String, boolean)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceReader(IActionSequenceResource)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceReader(IActionSequenceResource)
           
org.pentaho.platform.api.repository.ISolutionRepository.getResourceReader(String)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceReader(String)
           
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.getSelectedFile()
          Use ModelInfo instead 
org.pentaho.platform.api.engine.IActionParameter.getSelectionNameMap()
          Unused in the platform 
org.pentaho.platform.api.engine.IActionParameter.getSelectionValues()
          Unused in the platform 
org.pentaho.platform.api.repository.ISolutionRepository.getSolutionFile(IActionSequenceResource)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getSolutionFile(IActionSequenceResource)
           
org.pentaho.platform.api.repository.ISolutionRepository.getSolutionFile(String)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getSolutionFile(String)
           
org.pentaho.platform.api.repository.ISolutionRepository.getSolutionFileLastModified(String)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.getSolutionFileLastModified(String)
           
org.pentaho.platform.web.servlet.SolutionRepositoryService.getSolutionRepositoryDoc(IPentahoSession, String[])
          use ISolutionRepositoryService instead 
org.pentaho.platform.engine.core.system.boot.PentahoSystemBoot.init()
          use PentahoSystemBoot.start(). This method is hanging around for backward compatibility with MicroPlatform 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.isHeadersPresent()
          Use ModelInfo instead 
org.pentaho.platform.plugin.services.pluginmgr.PluginClassLoader.isPluginClass(Class)
           
org.pentaho.platform.api.engine.IPluginManager.isResourceLoadable(String)
          This is a poorly named method, use IPluginManager.getServicePlugin(String) instead. 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.isValidated()
          Use ModelInfo instead 
org.pentaho.platform.plugin.services.pluginmgr.PluginClassLoader.listLoadedJars()
           
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.removeCsvModelValidationListener(IRelationalModelValidationListener)
          Use ModelInfo instead 
org.pentaho.platform.repository.solution.SolutionRepositoryBase.resourceExists(String)
           
org.pentaho.platform.repository.solution.SolutionRepositoryBase.resourceSize(String)
           
org.pentaho.platform.scheduler.QuartzScheduler.scheduleSubscription(ISubscription)
          method never called, except in test classes (sbarkdull). It is also likely that setting the group name to "Subscription Group" is no longer correct, etc. 
org.pentaho.platform.api.engine.IApplicationContext.setBaseUrl(String)
            
org.pentaho.platform.engine.core.system.StandaloneApplicationContext.setBaseUrl(String)
           
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setBusinessData(BusinessData)
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setDataRows(List)
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setDatasourceName(String)
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setDelimiter(Delimiter)
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setDelimiterList()
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setEnclosure(Enclosure)
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setEnclosureList()
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setHeadersPresent(boolean)
          Use ModelInfo instead 
org.pentaho.platform.repository.content.ContentItem.setLatestVersionNum(int)
            
org.pentaho.platform.api.engine.IFileInfoGenerator.setLogger(ILogger)
           
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setMessages(DatasourceMessages)
          Use ModelInfo instead 
org.pentaho.platform.plugin.services.pluginmgr.PluginResourceLoader.setOverrideClassloader(PluginClassLoader)
           
org.pentaho.platform.api.engine.IActionParameter.setParamSelections(List, Map, String)
          Unused in the platform 
org.pentaho.platform.engine.services.actionsequence.ActionParameter.setParamSelections(List, Map, String)
            
org.pentaho.platform.plugin.services.pluginmgr.PluginResourceLoader.setRootDir(File)
          instead of setting the root dir, have your application use a subclass of PluginResourceLoader that returns an appropriately pathed PluginClassLoader from an overridden PluginResourceLoader.getClassLoader(Class). 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.setSelectedFile(String)
          Use ModelInfo instead 
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel.validate()
          Use ModelInfo instead 
 

Deprecated Constructors
org.pentaho.platform.dataaccess.datasource.wizard.models.CsvModel()
          Use ModelInfo instead 
org.pentaho.platform.plugin.services.connections.mondrian.MDXConnection(String, String, String, String)
            
org.pentaho.platform.plugin.services.pluginmgr.PluginClassLoader(String, Object)