Commons classes

OpenKM commons 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 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 an user.

ISO8601

Utility class what provides bidirectional format transformation between java time objects and ISO8601 format used for metadata date fields.

MailUtils

Utility methods to send a mail. For example to send message or send 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 method for the stack.

TemplateUtils

Utility methods to handle templates. For example, replace a text in a template.

WorkflowUtils 

Utility methods to handle workflows.

ShardUtils

Utility methods to have a repository distributed on several disks

LegacySrv

Utility methods to perform SQL query and HQL queries.

DbSessionManager

Utility methods for managing the sessions of the users.

ConfigSrv

Utility methods to perform config parameter operations.

 

Table of contents [ Hide Show ]