public class RepositoryFileImportFileHandler extends Object implements IPlatformImportHandler
Constructor and Description |
---|
RepositoryFileImportFileHandler(List<MimeType> mimeTypes) |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.repository2.unified.RepositoryFile |
createFolderJustInTime(String folderPath,
String manifestKey) |
ImportSession |
getImportSession() |
org.apache.commons.logging.Log |
getLogger() |
Map<String,MimeType> |
getMimeTypeMap() |
List<MimeType> |
getMimeTypes() |
org.pentaho.platform.api.repository2.unified.IUnifiedRepository |
getRepository() |
void |
importFile(IPlatformImportBundle bnd)
Import the provided IPlatformImportBundle into the platform.
|
void |
setDefaultAclHandler(org.pentaho.platform.api.repository2.unified.IRepositoryDefaultAclHandler defaultAclHandler) |
void |
setRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) |
public org.apache.commons.logging.Log getLogger()
public ImportSession getImportSession()
public void importFile(IPlatformImportBundle bnd) throws PlatformImportException
IPlatformImportHandler
importFile
in interface IPlatformImportHandler
PlatformImportException
public org.pentaho.platform.api.repository2.unified.IUnifiedRepository getRepository()
public void setRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
public void setDefaultAclHandler(org.pentaho.platform.api.repository2.unified.IRepositoryDefaultAclHandler defaultAclHandler)
public org.pentaho.platform.api.repository2.unified.RepositoryFile createFolderJustInTime(String folderPath, String manifestKey) throws PlatformImportException, org.pentaho.metadata.repository.DomainIdNullException, org.pentaho.metadata.repository.DomainAlreadyExistsException, org.pentaho.metadata.repository.DomainStorageException, IOException
PlatformImportException
org.pentaho.metadata.repository.DomainIdNullException
org.pentaho.metadata.repository.DomainAlreadyExistsException
org.pentaho.metadata.repository.DomainStorageException
IOException
public List<MimeType> getMimeTypes()
getMimeTypes
in interface IPlatformImportHandler