public class ImportSession extends Object
Modifier and Type | Class and Description |
---|---|
class |
ImportSession.ManifestFile |
Modifier and Type | Field and Description |
---|---|
static IPlatformImporter |
iPlatformImporter |
Constructor and Description |
---|
ImportSession() |
Modifier and Type | Method and Description |
---|---|
void |
addImportedRepositoryFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile) |
void |
addImportedScheduleJobId(String jobId) |
static void |
clearSession()
Removes the current thread's value for this thread-local variable
|
String |
getCurrentManifestKey() |
HashSet<String> |
getFoldersCreatedImplicitly() |
HashSet<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
getImportedRepositoryFiles() |
List<String> |
getImportedScheduleJobIds() |
Boolean |
getIsNotRunningImport() |
org.apache.commons.logging.Log |
getLogger() |
ExportManifest |
getManifest() |
ImportSession.ManifestFile |
getManifestFile(String filePath,
boolean isFileExist) |
static ImportSession |
getSession() |
HashSet<String> |
getSkippedFiles() |
void |
initialize()
Clear out any collections, most likely before starting a new import
|
boolean |
isApplyAclSettings() |
Boolean |
isFileHidden(String filePath)
Deprecated.
|
boolean |
isOverwriteAclSettings() |
boolean |
isRetainOwnership() |
org.pentaho.platform.api.repository2.unified.RepositoryFileAcl |
processAclForFile(String filePath) |
org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData |
processExtraMetaDataForFile(String filePath) |
void |
setAclProperties(boolean applyAclSettingsFlag,
boolean retainOwnershipFlag,
boolean overwriteAclSettingsFlag)
Sets the AclProperties.
|
void |
setApplyAclSettings(boolean applyAclSettings) |
void |
setCurrentManifestKey(String currentManifestKey) |
void |
setManifest(ExportManifest manifest) |
void |
setOverwriteAclSettings(boolean overwriteAclSettings) |
void |
setRetainOwnership(boolean retainOwnership) |
void |
setSkippedFiles(HashSet<String> skippedFiles) |
public static IPlatformImporter iPlatformImporter
public static ImportSession getSession()
public void initialize()
public org.apache.commons.logging.Log getLogger()
@Deprecated public Boolean isFileHidden(String filePath)
isApplyAclSettings
- isRetainOwnership
- filePath
- public ImportSession.ManifestFile getManifestFile(String filePath, boolean isFileExist)
public org.pentaho.platform.api.repository2.unified.RepositoryFileAcl processAclForFile(String filePath)
public org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData processExtraMetaDataForFile(String filePath)
public void setSkippedFiles(HashSet<String> skippedFiles)
skippedFiles
- the skippedFiles to setpublic Boolean getIsNotRunningImport()
public ExportManifest getManifest()
public void setManifest(ExportManifest manifest)
manifest
- the manifest to setpublic boolean isApplyAclSettings()
public void setApplyAclSettings(boolean applyAclSettings)
applyAclSettings
- the applyAclSettings to setpublic boolean isRetainOwnership()
public void setRetainOwnership(boolean retainOwnership)
retainOwnership
- the retainOwnership to setpublic boolean isOverwriteAclSettings()
public void setOverwriteAclSettings(boolean overwriteAclSettings)
overwriteAclSettings
- the overwriteAclSettings to setpublic String getCurrentManifestKey()
public void setCurrentManifestKey(String currentManifestKey)
Set
- the key for looking up the current file in the manifestpublic HashSet<String> getFoldersCreatedImplicitly()
public void setAclProperties(boolean applyAclSettingsFlag, boolean retainOwnershipFlag, boolean overwriteAclSettingsFlag)
applyAclSettingsFlag
- retainOwnershipFlag
- overwriteAclSettingsFlag
- public void addImportedRepositoryFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile)
repositoryFile
- public HashSet<org.pentaho.platform.api.repository2.unified.RepositoryFile> getImportedRepositoryFiles()
public void addImportedScheduleJobId(String jobId)
jobId
- public static void clearSession()
Copyright © 2020 Hitachi Vantara. All rights reserved.