com.dotmarketing.plugin.business
Class PluginCacheImpl

java.lang.Object
  extended by com.dotmarketing.plugin.business.PluginCache
      extended by com.dotmarketing.plugin.business.PluginCacheImpl
All Implemented Interfaces:
Cachable

public class PluginCacheImpl
extends PluginCache

Since:
1.6.5c
Author:
Jason Tesser

Constructor Summary
PluginCacheImpl()
           
 
Method Summary
protected  Plugin add(Plugin plugin)
           
protected  PluginProperty addProperty(PluginProperty pluginProperty)
           
protected  void clearCache()
           
protected  void clearPluginCache()
           
protected  void clearPropertyCache()
           
protected  Plugin get(java.lang.String pluginId)
           
 java.lang.String[] getGroups()
          Use to get all groups the concrete cache belongs to
 java.lang.String getPrimaryGroup()
          Use to get the primary group/region for the concrete cache
protected  PluginProperty getProperty(java.lang.String pluginId, java.lang.String propertyKey)
           
protected  void removePlugin(java.lang.String pluginId)
           
protected  void removePluginProperty(PluginProperty pluginProperty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginCacheImpl

public PluginCacheImpl()
Method Detail

add

protected Plugin add(Plugin plugin)
Specified by:
add in class PluginCache

get

protected Plugin get(java.lang.String pluginId)
Specified by:
get in class PluginCache

clearCache

protected void clearCache()
Specified by:
clearCache in class PluginCache

getGroups

public java.lang.String[] getGroups()
Description copied from interface: Cachable
Use to get all groups the concrete cache belongs to

Returns:

addProperty

protected PluginProperty addProperty(PluginProperty pluginProperty)
Specified by:
addProperty in class PluginCache

clearPluginCache

protected void clearPluginCache()
Specified by:
clearPluginCache in class PluginCache

clearPropertyCache

protected void clearPropertyCache()
Specified by:
clearPropertyCache in class PluginCache

getProperty

protected PluginProperty getProperty(java.lang.String pluginId,
                                     java.lang.String propertyKey)
Specified by:
getProperty in class PluginCache

removePlugin

protected void removePlugin(java.lang.String pluginId)
Specified by:
removePlugin in class PluginCache

removePluginProperty

protected void removePluginProperty(PluginProperty pluginProperty)
Specified by:
removePluginProperty in class PluginCache

getPrimaryGroup

public java.lang.String getPrimaryGroup()
Description copied from interface: Cachable
Use to get the primary group/region for the concrete cache

Returns:


Copyright © 2010 dotCMS Inc. All Rights Reserved.