Common classes

OpenKM common classes:

OpenKM common classesDescription

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 a JAR.

FileLogger

Utility methods to generate logs. For example, to show errors, info, or warnings.

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 a 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 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, to get the name or 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, to get the actual user ID from the security context session or 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.

LegacySrv

Utility methods to perform SQL queries and HQL queries.

DbSessionManager

Utility methods for managing user sessions.

ConfigSrv

Utility methods to perform configuration parameter operations.

 

Table of contents [ Hide Show ]