Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.launcher
Interface I_CmsTemplateCache  view I_CmsTemplateCache download I_CmsTemplateCache.java

All Known Implementing Classes:
CmsTemplateCache

public interface I_CmsTemplateCache

Common interface for the OpenCms template cache. Classes and for a customized template cache have to be implemtented.

Version:
$Revision: 1.6 $ $Date: 2002/12/06 23:16:54 $

Method Summary
 void clearCache()
          Deletes all documents from the template cache.
 void clearCache(java.lang.Object key)
          Deletes the document with the given key from the template cache.
 byte[] get(java.lang.Object key)
          Gets a previously cached template with the given key.
 boolean has(java.lang.Object key)
          Checks if there exists a cached template content for a given key.
 void put(java.lang.Object key, byte[] content)
          Stores a template content in the cache using the given key.
 

Method Detail

clearCache

public void clearCache()
Deletes all documents from the template cache.


clearCache

public void clearCache(java.lang.Object key)
Deletes the document with the given key from the template cache.


get

public byte[] get(java.lang.Object key)
Gets a previously cached template with the given key.


has

public boolean has(java.lang.Object key)
Checks if there exists a cached template content for a given key.


put

public void put(java.lang.Object key,
                byte[] content)
Stores a template content in the cache using the given key.