Commons classes
OpenKM commons classes:
| OpenKM common class | Description |
|---|---|
| ArchiveUtils | Utility methods for archive handling. For example, to create a ZIP or JAR. |
| DbSessionManager | Utility methods used to manage user session. |
| 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 |
| 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 format time. |
| GeneralUtils | Generic utility methods. For example, to notify something to a user. |
| ISO8601 | Utility class what provides bidirectional format transformation between java time objects and ISO8601 format used for metadata date fields. |
| LegacyDAO | Manage the execution of queries in the database. For example, the execution of queries in SQL or HQL. |
| MailUtils | Utility methods to send a mail. For example to send a message or send 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 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 user. |
| StackTraceUtils | Utility methods for the stack. |
| TemplateUtils | Utility methods to handle templates. For example, replace a text in a template. |
| WorkflowUtils | Utility methods to handle workflows. |