Commons classes
OpenKM commons classes:
| OpenKM common class | Description |
|---|---|
| ArchiveUtils | Utility methods for archive handling. For example, to create a ZIP or JAR. |
| ExecutionUtils | Execution related methods. For example, to run a script or JAR. |
| FileLogger | Utility methods to generate a log. For example, to show error, info, or warning messages. |
| FileUtils | File related utility methods. For example, to get the filename or extension. |
| FormatUtil | Utility methods used by formatters. For example, to format a file size or time. |
| GeneralUtils | Generic utility methods. For example, to notify a user of something. |
| ISO8601 | Utility class that provides bidirectional format transformation between Java time objects and the ISO8601 format used for metadata date fields. |
| MailUtils | Utility methods to send mail. For example, to send a message or a document. |
| PathUtils | Utility methods to handle paths. For example, get the name or get the parent path. |
| PDFUtils | Utility methods to convert PDF files. For example, to stamp an image or text. |
| PrincipalUtils | Utility methods for retrieving information from the security context. For example, get the actual userId from the security context session or get the actual tenant of the logged-in user. |
| StackTraceUtils | Utility methods for stack traces. |
| TemplateUtils | Utility methods to handle templates. For example, replace text in a template. |
| WorkflowUtils | Utility methods to handle workflows. |
| ShardUtils | Utility methods to distribute a repository across several disks. |
| LegacySrv | Utility methods to perform SQL and HQL queries. |
| DbSessionManager | Utility methods for managing user sessions. |
| ConfigSrv | Utility methods to perform configuration parameter operations. |