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 String
Liefert den Pfad zum temporären Verzeichnis für die Verarbeitung der übergebenen Aktion innerhalb des übergebenen Vorgangs.static String
getAktionWorkflowDirPath
(Vorgang v, Aktion a, String postfix) static File
Deprecated.static String
static Path
static String
getCacheDirPath
(String cacheName) Deprecated.static <E extends IFileDataEntity<?>,
T extends IFileProviding<?, E>>
StringgetCacheDirPath
(T entity) static File
static Path
static String
static File
static Path
static File
static File
static File
Deprecated.static Path
static Path
getMalwareScanDir
(boolean create) static String
Deprecated.static String
getMandantPluginDirPath
(Mandant mandant) Deprecated.static String
getNodeWorkflowDirPath
(Vorgang formRecord, WorkflowNode node) static String
getNodeWorkflowDirPath
(Vorgang formRecord, WorkflowNode node, String postfix) static Path
static String
static String
getPluginDirPath
(String scopeKey) static String
getPluginDirPath
(String scopeKey, String runtimeKey) static String
getSharedWorkflowDirPath
(Vorgang formRecord) static String
getSharedWorkflowDirPath
(Vorgang formRecord, String postfix) static String
Deprecated.static String
static File
static File
getTempFolder
(boolean createIfMissing) static Path
static String
Deprecated.static String
Liefert den Pfad zum temporären Verzeichnis für die Verarbeitung des übergebenen Vorgangs.static void
setCacheDir
(Path cacheDir) Sets a custom directory where cache files are stored.static void
setConfigDir
(File configDir) static void
setDataDir
(String configuredDataDir) Sets a custom directory where applicatio specific data is stored.static void
setMalwareScanDir
(Path scanDir) static void
setPluginDir
(Path pluginDir) Sets a custom directory where plugin files are stored, such as JAR files and properties file.static void
setTempDir
(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
IMalwareScanner
before 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
IMalwareScanner
before 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:
File
the 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 aIMalwareScanner
before they are used.
-
getPluginDirPath(String)