Common classes

OpenKM common classes:

OpenKM common classDescription

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 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 format time values.

GeneralUtils

Generic utility methods. For example, to notify a user about 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 an email. 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 images 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 to get the actual tenant of the logged-in user.

StackTraceUtils 

Utility methods for stack traces.

TemplateUtils

Utility methods to handle templates. For example, to 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.

 

Table of contents [ Hide Show ]