org.alfresco.util.debug
Class NodeStoreInspector

java.lang.Object
  extended by org.alfresco.util.debug.NodeStoreInspector

public class NodeStoreInspector
extends java.lang.Object

Debug class that has methods to inspect the contents of a node store.


Constructor Summary
NodeStoreInspector()
           
 
Method Summary
static java.lang.String dumpNode(NodeService nodeService, NodeRef nodeRef)
          Dumps the contents of a node
static java.lang.String dumpNodeStore(NodeService nodeService, StoreRef storeRef)
          Dumps the contents of a store to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeStoreInspector

public NodeStoreInspector()
Method Detail

dumpNodeStore

public static java.lang.String dumpNodeStore(NodeService nodeService,
                                             StoreRef storeRef)
Dumps the contents of a store to a string.

Parameters:
nodeService - the node service
storeRef - the store reference
Returns:
string containing textual representation of the contents of the store

dumpNode

public static java.lang.String dumpNode(NodeService nodeService,
                                        NodeRef nodeRef)
Dumps the contents of a node

Parameters:
nodeService -
nodeRef -
Returns:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.