Package de.xima.fc
Class PathHandler.FS
- java.lang.Object
- 
- de.xima.fc.PathHandler.FS
 
- 
- Enclosing class:
- PathHandler
 
 public static final class PathHandler.FS extends Object Zentrale Behandlung von Pfaden im lokalen FileSystem
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringgetAktionWorkflowDirPath(Vorgang v, Aktion a)Liefert 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 FilegetBackupDir()Deprecated.static StringgetCacheDir()static PathgetCacheDirPath()static StringgetCacheDirPath(String cacheName)Deprecated.static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>>
 StringgetCacheDirPath(T entity)static FilegetConfigDir()static PathgetConfigDirPath()static StringgetDataDir()static FilegetDataDirFile()static PathgetDataDirPath()static FilegetKerberosKRB5ConfigFile()static FilegetKerberosLoginConfigFile()static FilegetLicenseFile()Deprecated.static PathgetMalwareScanDir()static PathgetMalwareScanDir(boolean create)static StringgetMandantBaseDirPath(Mandant m)Deprecated.static StringgetMandantPluginDirPath(Mandant mandant)Deprecated.static StringgetNodeWorkflowDirPath(Vorgang formRecord, WorkflowNode node)static StringgetNodeWorkflowDirPath(Vorgang formRecord, WorkflowNode node, String postfix)static PathgetPluginBaseDir()static StringgetPluginBaseDirPath()static StringgetPluginDirPath(String scopeKey)static StringgetPluginDirPath(String scopeKey, String runtimeKey)static StringgetSharedWorkflowDirPath(Vorgang formRecord)static StringgetSharedWorkflowDirPath(Vorgang formRecord, String postfix)static StringgetSystemPluginDirPath()Deprecated.static StringgetTempDir()static FilegetTempFolder()static FilegetTempFolder(boolean createIfMissing)static PathgetTempPath()static StringgetVorgangsAttachmentDirPath(Vorgang v)Deprecated.static StringgetVorgangsWorkflowDirPath(Vorgang v)Liefert 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 Detail- 
getPluginBaseDirpublic static Path getPluginBaseDir() 
 - 
getPluginBaseDirPathpublic static String getPluginBaseDirPath() 
 - 
getDataDirFilepublic static File getDataDirFile() 
 - 
getDataDirPathpublic static Path getDataDirPath() 
 - 
getDataDirpublic static String getDataDir() 
 - 
getMalwareScanDirpublic static Path 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.
 
 - 
getMalwareScanDirpublic static Path getMalwareScanDir(boolean create) throws IOException - Parameters:
- create- If- true, 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.
 
 - 
getTempFolderpublic static File getTempFolder() throws IOException - Throws:
- IOException
 
 - 
getTempDirpublic static String getTempDir() 
 - 
getTempPathpublic static Path getTempPath() 
 - 
getTempFolderpublic static File getTempFolder(boolean createIfMissing) throws IOException - Throws:
- IOException
 
 - 
getVorgangsWorkflowDirPathpublic static String getVorgangsWorkflowDirPath(Vorgang v) Liefert den Pfad zum temporären Verzeichnis für die Verarbeitung des übergebenen Vorgangs.
 - 
getCacheDirPathpublic static Path getCacheDirPath() 
 - 
getCacheDirpublic static String getCacheDir() 
 - 
getCacheDirPath@Deprecated public static String getCacheDirPath(String cacheName) Deprecated.
 - 
getCacheDirPathpublic static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> String getCacheDirPath(T entity) 
 - 
getAktionWorkflowDirPathpublic static String getAktionWorkflowDirPath(Vorgang v, Aktion a) Liefert den Pfad zum temporären Verzeichnis für die Verarbeitung der übergebenen Aktion innerhalb des übergebenen Vorgangs.
 - 
getNodeWorkflowDirPathpublic static String getNodeWorkflowDirPath(Vorgang formRecord, WorkflowNode node) 
 - 
getAktionWorkflowDirPathpublic static String getAktionWorkflowDirPath(Vorgang v, Aktion a, String postfix) 
 - 
getNodeWorkflowDirPathpublic static String getNodeWorkflowDirPath(Vorgang formRecord, WorkflowNode node, String postfix) 
 - 
getSharedWorkflowDirPathpublic static String getSharedWorkflowDirPath(Vorgang formRecord, String postfix) 
 - 
setConfigDirpublic static void setConfigDir(File configDir) 
 - 
setTempDirpublic static void setTempDir(String customTempDir) 
 - 
setCacheDirpublic static void setCacheDir(Path cacheDir) Sets a custom directory where cache files are stored.- Parameters:
- cacheDir- The custom cache directory.
 
 - 
getKerberosLoginConfigFilepublic static File getKerberosLoginConfigFile() 
 - 
getKerberosKRB5ConfigFilepublic static File getKerberosKRB5ConfigFile() 
 - 
getConfigDirpublic static File getConfigDir() 
 - 
getConfigDirPathpublic static Path getConfigDirPath() 
 - 
getLicenseFile@Deprecated public static File getLicenseFile() Deprecated.
 - 
setDataDirpublic static void setDataDir(String configuredDataDir) Sets a custom directory where applicatio specific data is stored.- Parameters:
- configuredDataDir- The custom data directory.
 
 - 
setPluginDirpublic static void setPluginDir(Path pluginDir) Sets a custom directory where plugin files are stored, such as JAR files and properties file.- Parameters:
- pluginDir- The custom plugin directory.
 
 - 
getMandantBaseDirPath@Deprecated public static String getMandantBaseDirPath(Mandant m) Deprecated.Liefert das mandantenspezifische Verzeichnis (nutzerdefiniert oder Standardwert), das für die Speicherung von Dateien verwendet werden kann.
 - 
getMandantPluginDirPath@Deprecated public static String getMandantPluginDirPath(Mandant mandant) throws IOException Deprecated.- Throws:
- IOException
 
 - 
getSystemPluginDirPath@Deprecated public static String getSystemPluginDirPath() throws IOException Deprecated.- Throws:
- IOException
 
 - 
getBackupDir@Deprecated public static File 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 public static String getVorgangsAttachmentDirPath(Vorgang v) throws IOException Deprecated.Liefert den Pfad zum Verzeichnis für die Vorgangsdaten (Attachments).- Throws:
- IOException
 
 - 
setMalwareScanDirpublic static void setMalwareScanDir(Path scanDir) - Parameters:
- scanDir- The directory where files should be placed that may potentially contain malware. These files should be scanned by a- IMalwareScannerbefore they are used.
 
 
- 
 
-