站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

CMSTreeCacheService - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.cms.impl
Interface CMSTreeCacheService

All Known Implementing Classes:
CMSTreeCacheServiceImpl

public interface CMSTreeCacheService

Version:
$Revision: 5448 $
Author:
Thomas Heute

Field Summary
static java.lang.String JNDIName
           
 
Method Summary
 File get(java.lang.String path, java.util.Locale locale)
          Get a file from the cache, returns null if the file cannot be found
 void put(java.lang.String path, java.util.Locale locale, File file)
          Put a CMS file into the cache
 void remove(java.lang.String path)
          Remove a file (all languages)
 void remove(java.lang.String path, java.util.Locale locale)
          Remove a localized file
 

Field Detail

JNDIName

public static final java.lang.String JNDIName
See Also:
Constant Field Values
Method Detail

get

public File get(java.lang.String path,
                java.util.Locale locale)
Get a file from the cache, returns null if the file cannot be found


put

public void put(java.lang.String path,
                java.util.Locale locale,
                File file)
Put a CMS file into the cache


remove

public void remove(java.lang.String path,
                   java.util.Locale locale)
            throws CMSCacheException
Remove a localized file

Throws:
CacheException
CMSCacheException

remove

public void remove(java.lang.String path)
            throws CMSCacheException
Remove a file (all languages)

Throws:
CacheException
CMSCacheException