CW API

CW provides a framework API for CW and CW tools. The classes in this API are described below. The online API reference provides more details on the methods available in these classes.

ClassDescription
CWCommonCWCommon provides methods for performing common tasks in Contenta Web and Contenta Web tools.
CWServletListenerCWServletListener implements the HttpSessionListener, HttpSessionAttributeListener, ServletContextListener interfaces. Each CW web application creates an instance of this class via the deployment descriptor for the web application (web.xml).
CWSessionCWSession provides a wrapper to the HttpSession object and methods for logging.
CWUserConfigCWUserConfig provides a dynamic search mechanism to locate and generate URLS for files that are part of a CW web application; CWUserConfig also provides access to configuration parameters and user preferences for Contenta Web and CW tools.
CWVerInfoPCMVerInfo provides version information about a CW or a specified java package.
PCMSyncPCMSync provides synchronized access to the Contenta Server (portal) for multi-threaded web applications.