Commons classes

OpenKM commons classes:

OpenKM common classDescription

ArchiveUtils

Utility methods to analyze a archive. For example create zip or create jar.

DbSessionManager

Utility methods used to manage user session.

ExecutionUtils 

Utilities of execution methods. For example run script or run jar.

FileLogger

Utility methods to analyze a logger. For example show error, info or warning

FileUtils

Utility methods to analyze a file. For example get name or get parent or get extension.

FormatUtil

Utility methods used by formatters. For example format size or format parse size or format time.

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 bbdd. For example execution of queries in SQL or HQL.

MailUtils

Utility methods to analyze a mail. For example send message or send document.

PathUtils

Utility methods to analyze a route. For example, get the name or get the parent.

PDFUtils

Utility methods to convert pdf files. For example stamp image or stamp 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 analyze a template. For example template existence or replace.

WorkflowUtils

Utility methods to handle workflows.