com.macvu.tiles
Class CacheInformation

java.lang.Object
  extended by com.macvu.tiles.CacheInformation
Direct Known Subclasses:
XmlCacheInformation

public class CacheInformation
extends java.lang.Object


Field Summary
static java.lang.String DEFAULT_KEY_FACTORY
           
static java.lang.String DEFAULT_REPOSITORY_FACTORY
           
static java.lang.String DEFAULT_REPOSITORY_NAME
           
 
Constructor Summary
CacheInformation()
           
CacheInformation(CacheInformation info)
           
CacheInformation(java.util.List cacheAttributes, boolean cacheEnabled)
           
 
Method Summary
 boolean addCacheAttribute(CacheAttribute attribute)
           
 boolean addPossibleCacheAttribute(CacheAttribute attribute)
           
 void clearCacheAttribute()
           
 void clearPossibleCacheAttribute()
           
 java.util.List getCacheAttributes()
           
 boolean getCacheEnabled()
           
 java.lang.String getKeyFactory()
           
 CacheComponentDefinition getParent()
           
 java.util.List getPossibleCacheAttributes()
           
 java.lang.String getRepositoryFactory()
           
 java.lang.String getRepositoryName()
           
protected  void init()
           
 boolean isCacheEnabled()
           
 boolean isDefault()
           
 boolean isInCacheAttributes(java.lang.String scope, java.lang.String name)
           
 boolean isInPossibleCacheAttributes(java.lang.String scope, java.lang.String name)
           
 boolean removeCacheAttribute(CacheAttribute attribute)
           
 boolean removePossibleCacheAttribute(CacheAttribute attribute)
           
 void setCacheAttributes(java.util.List cacheAttributes)
           
 void setCacheEnabled(boolean cacheEnabled)
           
 void setKeyFactory(java.lang.String keyFactory)
           
 void setParent(CacheComponentDefinition parent)
           
 void setPossibleCacheAttributes(java.util.List possibleCacheAttributes)
           
 void setRepositoryFactory(java.lang.String repositoryFactory)
           
 void setRepositoryName(java.lang.String repositoryName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_REPOSITORY_NAME

public static final java.lang.String DEFAULT_REPOSITORY_NAME
See Also:
Constant Field Values

DEFAULT_REPOSITORY_FACTORY

public static final java.lang.String DEFAULT_REPOSITORY_FACTORY
See Also:
Constant Field Values

DEFAULT_KEY_FACTORY

public static final java.lang.String DEFAULT_KEY_FACTORY
See Also:
Constant Field Values
Constructor Detail

CacheInformation

public CacheInformation()

CacheInformation

public CacheInformation(CacheInformation info)

CacheInformation

public CacheInformation(java.util.List cacheAttributes,
                        boolean cacheEnabled)
Method Detail

init

protected void init()

isCacheEnabled

public boolean isCacheEnabled()

setCacheEnabled

public void setCacheEnabled(boolean cacheEnabled)

getCacheEnabled

public boolean getCacheEnabled()

getCacheAttributes

public java.util.List getCacheAttributes()

setCacheAttributes

public void setCacheAttributes(java.util.List cacheAttributes)

addCacheAttribute

public boolean addCacheAttribute(CacheAttribute attribute)

removeCacheAttribute

public boolean removeCacheAttribute(CacheAttribute attribute)

clearCacheAttribute

public void clearCacheAttribute()

getPossibleCacheAttributes

public java.util.List getPossibleCacheAttributes()

setPossibleCacheAttributes

public void setPossibleCacheAttributes(java.util.List possibleCacheAttributes)

addPossibleCacheAttribute

public boolean addPossibleCacheAttribute(CacheAttribute attribute)

removePossibleCacheAttribute

public boolean removePossibleCacheAttribute(CacheAttribute attribute)

clearPossibleCacheAttribute

public void clearPossibleCacheAttribute()

getRepositoryName

public java.lang.String getRepositoryName()

setRepositoryName

public void setRepositoryName(java.lang.String repositoryName)

getRepositoryFactory

public java.lang.String getRepositoryFactory()

setRepositoryFactory

public void setRepositoryFactory(java.lang.String repositoryFactory)

getKeyFactory

public java.lang.String getKeyFactory()

setKeyFactory

public void setKeyFactory(java.lang.String keyFactory)

isInCacheAttributes

public boolean isInCacheAttributes(java.lang.String scope,
                                   java.lang.String name)

isInPossibleCacheAttributes

public boolean isInPossibleCacheAttributes(java.lang.String scope,
                                           java.lang.String name)

isDefault

public boolean isDefault()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getParent

public CacheComponentDefinition getParent()

setParent

public void setParent(CacheComponentDefinition parent)


Copyright © 2005 MacVu group. All Rights Reserved.