-
Fields Field Description 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)
-
Methods Method Description org.pentaho.platform.api.engine.IActionParameter.getSelectionNameMap() Unused in the platformorg.pentaho.platform.api.engine.IActionParameter.getSelectionValues() Unused in the platformorg.pentaho.platform.api.engine.IActionParameter.setParamSelections(List, Map, String) Unused in the platformorg.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.api.engine.IApplicationContext.setBaseUrl(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.api.engine.IContentGeneratorInfo.getUrl() URL is determined by the systemorg.pentaho.platform.api.engine.IContentInfo.getMimeType() Don't Use - this is way too early to know the mime typeorg.pentaho.platform.api.engine.IOutputHandler.contentDone() This method could never tell you if the content was actually done. UseIOutputHandler.isResponseExpected()
if you need information about a handlers likelihood to generate a response.org.pentaho.platform.api.engine.IPentahoSystemHelper.createObject(String, ILogger) org.pentaho.platform.api.engine.IPluginManager.getContentGeneratorForType(String, IPentahoSession) Useinstead
org.pentaho.platform.api.engine.IPluginManager.getServicePlugin(String) This method may not work correctly for plugins in Sugar or later releases, in which a plugin does not provide the URL by which to access the resource. UseIPluginManager.isPublic(String, String)
if you want to determine if a particular plugin dir is accessable through the plugin resources REST service.org.pentaho.platform.api.engine.IPluginManager.getStaticResource(String) This method may not work correctly for plugins in Sugar or later releases, in which a plugin does not provide the URL by which to access the resource. UseIPluginManager.isPublic(String, String)
if you want to determine if a particular plugin dir is accessable through the plugin resources REST service.org.pentaho.platform.api.engine.IPluginManager.isStaticResource(String) This method may not work correctly for plugins in Sugar or later releases, in which a plugin does not provide the URL by which to access the resource. UseIPluginManager.isPublic(String, String)
if you want to determine if a particular plugin dir is accessable through the plugin resources REST service.org.pentaho.platform.api.engine.IPluginManager.reload(IPentahoSession) UseIPluginManager.reload()
insteadorg.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 valueorg.pentaho.platform.api.engine.ISecurityHelper.hasAccess(IAclHolder, int, IPentahoSession) org.pentaho.platform.api.engine.ISecurityHelper.isPentahoAdministrator(IPentahoSession) use SystemUtils.canAdminister() insteadorg.pentaho.platform.api.engine.perspective.IPluginPerspectiveManager.addPluginPerspective(IPluginPerspective) No longer needed as IPluginPerspective objects are registered with PentahoSystem. Existing calls will do nothing. Replace calls to this method with:PentahoSystem.registerObject( pluginPerspective );
org.pentaho.platform.api.engine.perspective.IPluginPerspectiveManager.clearPluginPerspectives() No longer needed as IPluginPerspective objects are registered with PentahoSystem. Existing calls will do nothing. Replace calls to this method with.IPentahoObjectRegistration#remove()
IPentahoObjectRegistration handle = PentahoSystem.registerObject( pluginPerspective ); handle.remove(); // replaces call to removePluginPerspective
org.pentaho.platform.api.engine.perspective.IPluginPerspectiveManager.removePluginPerspective(IPluginPerspective) No longer needed as IPluginPerspective objects are registered with PentahoSystem. Existing calls will do nothing. Replace calls to this method with.IPentahoObjectRegistration#remove()
IPentahoObjectRegistration handle = PentahoSystem.registerObject( pluginPerspective ); handle.remove(); // replaces call to removePluginPerspective
org.pentaho.platform.api.repository2.unified.data.simple.SimpleRepositoryFileData.getStream() UseSimpleRepositoryFileData.getInputStream()
instead. Proguard likes to obfuscate any method named getStream that returns an InputStream, even if you tell it not to via keep rules.org.pentaho.platform.api.repository2.unified.IUnifiedRepository.getChildren(Serializable) org.pentaho.platform.api.repository2.unified.IUnifiedRepository.getTree(String, int, String, boolean) org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileAclDto.setAces(List<RepositoryFileAclAceDto>)