Package de.xima.fc
Class PathHandler.FS
java.lang.Object
de.xima.fc.PathHandler.FS
- Enclosing class:
- PathHandler
Zentrale Behandlung von Pfaden im lokalen FileSystem
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringLiefert den Pfad zum temporären Verzeichnis für die Verarbeitung der übergebenen Aktion innerhalb des übergebenen Vorgangs.static StringgetAktionWorkflowDirPath(Vorgang v, Aktion a, String postfix) static FileDeprecated.static Stringstatic Pathstatic StringgetCacheDirPath(String cacheName) Deprecated.static <E extends IFileDataEntity<?>,T extends IFileProviding<?, E>>
StringgetCacheDirPath(T entity) static Filestatic Pathstatic Stringstatic Filestatic Pathstatic Filestatic Filestatic FileDeprecated.static Pathstatic PathgetMalwareScanDir(boolean create) static StringDeprecated.static StringgetMandantPluginDirPath(Mandant mandant) Deprecated.static StringgetNodeWorkflowDirPath(Vorgang formRecord, WorkflowNode node) static StringgetNodeWorkflowDirPath(Vorgang formRecord, WorkflowNode node, String postfix) static Pathstatic Stringstatic StringgetPluginDirPath(String scopeKey) static StringgetPluginDirPath(String scopeKey, String runtimeKey) static StringgetSharedWorkflowDirPath(Vorgang formRecord) static StringgetSharedWorkflowDirPath(Vorgang formRecord, String postfix) static StringDeprecated.static Stringstatic Filestatic FilegetTempFolder(boolean createIfMissing) static Pathstatic StringDeprecated.static StringLiefert den Pfad zum temporären Verzeichnis für die Verarbeitung des übergebenen Vorgangs.static voidsetCacheDir(Path cacheDir) Sets a custom directory where cache files are stored.static voidsetConfigDir(File configDir) static voidsetDataDir(String configuredDataDir) Sets a custom directory where applicatio specific data is stored.static voidsetMalwareScanDir(Path scanDir) static voidsetPluginDir(Path pluginDir) Sets a custom directory where plugin files are stored, such as JAR files and properties file.static voidsetTempDir(String customTempDir)
-
Method Details
-
getPluginBaseDir
-
getPluginBaseDirPath
-
getPluginDirPath
-
getPluginDirPath
-
getDataDirFile
-
getDataDirPath
-
getDataDir
-
getMalwareScanDir
- Returns:
- The directory where files should be placed that may potentially contain malware. These files should
be scanned by a
IMalwareScannerbefore they are used.
-
getMalwareScanDir
- Parameters:
create- Iftrue, ensures the directory exists and creates it if not.- Returns:
- The directory where files should be placed that may potentially contain malware. These files should
be scanned by a
IMalwareScannerbefore they are used. - Throws:
IOException- When the directory does not exist and could not be created.
-
getTempFolder
- Throws:
IOException
-
getTempDir
-
getTempPath
-
getTempFolder
- Throws:
IOException
-
getVorgangsWorkflowDirPath
Liefert den Pfad zum temporären Verzeichnis für die Verarbeitung des übergebenen Vorgangs. -
getCacheDirPath
-
getCacheDir
-
getCacheDirPath
Deprecated. -
getCacheDirPath
public static <E extends IFileDataEntity<?>,T extends IFileProviding<?, String getCacheDirPathE>> (T entity) -
getAktionWorkflowDirPath
Liefert den Pfad zum temporären Verzeichnis für die Verarbeitung der übergebenen Aktion innerhalb des übergebenen Vorgangs. -
getNodeWorkflowDirPath
-
getAktionWorkflowDirPath
-
getNodeWorkflowDirPath
-
setConfigDir
-
setTempDir
-
setCacheDir
Sets a custom directory where cache files are stored.- Parameters:
cacheDir- The custom cache directory.
-
getKerberosLoginConfigFile
-
getKerberosKRB5ConfigFile
-
getConfigDir
-
getConfigDirPath
-
getLicenseFile
Deprecated. -
setDataDir
Sets a custom directory where applicatio specific data is stored.- Parameters:
configuredDataDir- The custom data directory.
-
setPluginDir
Sets a custom directory where plugin files are stored, such as JAR files and properties file.- Parameters:
pluginDir- The custom plugin directory.
-
getMandantBaseDirPath
Deprecated.Liefert das mandantenspezifische Verzeichnis (nutzerdefiniert oder Standardwert), das für die Speicherung von Dateien verwendet werden kann. -
getMandantPluginDirPath
Deprecated.- Throws:
IOException
-
getSystemPluginDirPath
Deprecated.- Throws:
IOException
-
getBackupDir
Deprecated.Liefert den Pfad zum Backup-Verzeichnis alter FormCycle-Versionen (Wird nur noch für Übergangszeitraum benötigt)- Returns:
Filethe backup-dir
-
getVorgangsAttachmentDirPath
Deprecated.Liefert den Pfad zum Verzeichnis für die Vorgangsdaten (Attachments).- Throws:
IOException
-
setMalwareScanDir
- Parameters:
scanDir- The directory where files should be placed that may potentially contain malware. These files should be scanned by aIMalwareScannerbefore they are used.
-
getPluginDirPath(String)