com.opencms.core
Interface I_CmsCheckResource


public interface I_CmsCheckResource

This interface checks the requested resource from the OpenCms request context and returns it to the calling method, which will usually be OpenCms.initResource(cms).

Version:
$Revision: 1.1 $
Author:
Andreas Zahner (a.zahner@alkacon.com)

Method Summary
 CmsFile checkResource(CmsFile file, CmsObject cms)
          Possibility to modify or change the CmsFile with the CmsObject.
 

Method Detail

checkResource

public CmsFile checkResource(CmsFile file,
                             CmsObject cms)
                      throws CmsCheckResourceException
Possibility to modify or change the CmsFile with the CmsObject.

Parameters:
file - the requested file
cms - the current CmsObject
Returns:
CmsFile a file in the OpenCms VFS
Throws:
CmsCheckResourceException - throw this exception if other implementations of the interface should not be executed