Class PDIImportFileHandler
- java.lang.Object
-
- org.pentaho.platform.plugin.services.importer.RepositoryFileImportFileHandler
-
- org.pentaho.platform.plugin.services.importer.PDIImportFileHandler
-
- All Implemented Interfaces:
IPlatformImportHandler
public class PDIImportFileHandler extends RepositoryFileImportFileHandler implements IPlatformImportHandler
-
-
Constructor Summary
Constructors Constructor Description PDIImportFileHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.pentaho.platform.api.repository2.unified.RepositoryFile
createFile(RepositoryFileImportBundle bundle, String repositoryPath, org.pentaho.platform.api.repository2.unified.IRepositoryFileData data)
Creates a new file in the repositoryprotected org.pentaho.platform.api.repository2.unified.RepositoryFile
updateFile(RepositoryFileImportBundle bundle, org.pentaho.platform.api.repository2.unified.RepositoryFile file, org.pentaho.platform.api.repository2.unified.IRepositoryFileData data)
Updates a file in the repository-
Methods inherited from class org.pentaho.platform.plugin.services.importer.RepositoryFileImportFileHandler
copyFileToRepository, createFolderJustInTime, getImportSession, getKnownExtensions, getLogger, getMimeTypeMap, getMimeTypes, getParentId, getRepository, getTitle, importFile, setDefaultAclHandler, setKnownExtensions, setRepository
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.platform.plugin.services.importer.IPlatformImportHandler
getMimeTypes, importFile
-
-
-
-
Constructor Detail
-
PDIImportFileHandler
public PDIImportFileHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes)
-
-
Method Detail
-
createFile
protected org.pentaho.platform.api.repository2.unified.RepositoryFile createFile(RepositoryFileImportBundle bundle, String repositoryPath, org.pentaho.platform.api.repository2.unified.IRepositoryFileData data) throws PlatformImportException
Description copied from class:RepositoryFileImportFileHandler
Creates a new file in the repository- Overrides:
createFile
in classRepositoryFileImportFileHandler
- Throws:
PlatformImportException
-
updateFile
protected org.pentaho.platform.api.repository2.unified.RepositoryFile updateFile(RepositoryFileImportBundle bundle, org.pentaho.platform.api.repository2.unified.RepositoryFile file, org.pentaho.platform.api.repository2.unified.IRepositoryFileData data) throws PlatformImportException
Description copied from class:RepositoryFileImportFileHandler
Updates a file in the repository- Overrides:
updateFile
in classRepositoryFileImportFileHandler
- Throws:
PlatformImportException
-
-