org.apache.jetspeed.prefs.impl
Class PersistenceBrokerPreferencesProvider.NodeCache

java.lang.Object
  extended by org.apache.jetspeed.prefs.impl.PersistenceBrokerPreferencesProvider.NodeCache
All Implemented Interfaces:
Serializable, org.apache.jetspeed.cache.DistributedCacheObject
Enclosing class:
PersistenceBrokerPreferencesProvider

private static class PersistenceBrokerPreferencesProvider.NodeCache
extends Object
implements org.apache.jetspeed.cache.DistributedCacheObject


Field Summary
(package private)  Collection children
           
(package private)  String key
           
(package private)  NodeImplProxy node
           
private static long serialVersionUID
          The serial uid.
 
Constructor Summary
PersistenceBrokerPreferencesProvider.NodeCache(NodeImplProxy node)
           
PersistenceBrokerPreferencesProvider.NodeCache(String fullpath, int type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheKey()
           
 Collection getChildren()
           
 String getKey()
           
 NodeImplProxy getNode()
           
 int hashCode()
           
 boolean isChildrenLoaded()
           
 void notifyChange(int action)
           
 void setChildren(Collection children)
           
 void setNode(NodeImplProxy node)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serial uid.

See Also:
Constant Field Values

node

NodeImplProxy node

key

String key

children

Collection children
Constructor Detail

PersistenceBrokerPreferencesProvider.NodeCache

public PersistenceBrokerPreferencesProvider.NodeCache(NodeImplProxy node)

PersistenceBrokerPreferencesProvider.NodeCache

public PersistenceBrokerPreferencesProvider.NodeCache(String fullpath,
                                                      int type)
Method Detail

isChildrenLoaded

public boolean isChildrenLoaded()

getNode

public NodeImplProxy getNode()

setNode

public void setNode(NodeImplProxy node)

getChildren

public Collection getChildren()

setChildren

public void setChildren(Collection children)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getCacheKey

public String getCacheKey()

getKey

public String getKey()

notifyChange

public void notifyChange(int action)
Specified by:
notifyChange in interface org.apache.jetspeed.cache.DistributedCacheObject


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.