Description

This package contents some general Java-Classes for OpenCms.

OpenCms is a Content Management System that is based on Open Source Software. Complex Intranet and Internet websites can be quickly and cost-effectively created, maintained and managed.

Features

This package contents some general Java-Classes for OpenCms:

  • A_ModuleAction:
    A Abstract ModuleAction who can load a OpenCms-Configuration (WEB-INF/config/*.xml).
    If the Configuration doesn't exists, it will automatical added to opencms.xml
  • CachedDataUtil & I_CachedData:
    The Util-Class calls the function clearCache() of each Object from a List who implements I_CachedData.
  • CmsResourceTypeXmlContent:
    Spezial CmsResourceTypeXmlContent who can validate all Links in an XML-Schema from Type CmsXmlVfsFileValue
  • ExpressionLanguageUtil:
    Helper Class to validate a regularExpression (e.g.. "$bean.property.subProperty" ).
    The Context can be a simple java.util.Map
  • XMLContentTypsUtil:
    Return the ContentValues stored as a Map how it is defined by the ContentSchemaType.
    So you can access the content of a xmlpage (element name="body") with $content.element.body.
    Or on XmlContent with the element name="Title" $content.Title.
  • The Package "dao":
    This package content some Exception for DAO-Objects: EntityNotFoundException & TooManyRowsFoundException.
    Both Exceptions extends RuntimeException. This is necessary for Hibernate-TransactionManagement.

for more Information see JavaDoc.