| java.lang.Object org.mmbase.clustering.ChangeManager
ChangeManager | final public class ChangeManager (Code) | | This utility class contains the methods for broadcasting/registering changes on nodes. It is
available as 'getChangeManager()' from the StorageManagerFactory.
author: Pierre van Rooden version: $Id: ChangeManager.java,v 1.13 2007/02/24 21:57:51 nklasens Exp $ See Also: org.mmbase.storage.StorageManagerFactory.getChangeManager |
commit | public void commit(Map<MMObjectNode, String> changes)(Code) | | Commit all changes stored in a Changes map.
Clears the change status of all changed nodes, then broadcasts changes to the
nodes' builders.
Parameters: changes - a map with node/change value pairs |
commit | public void commit(MMObjectNode node, String change)(Code) | | Commits the change to a node.
Fires the node change events through the EventManager.
Then clears 'changed' state on the node.
Parameters: node - the node to commit the change of Parameters: change - the type of change: "n": new, "c": commit, "d": delete, "r" : relation changed |
|
|