org.alfresco.util.debug
Class NodeStoreInspector
java.lang.Object
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.
Method Summary |
static java.lang.String |
dumpNode(org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.NodeRef nodeRef)
Dumps the contents of a node |
static java.lang.String |
dumpNodeStore(org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.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 |
NodeStoreInspector
public NodeStoreInspector()
dumpNodeStore
public static java.lang.String dumpNodeStore(org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.StoreRef storeRef)
- Dumps the contents of a store to a string.
- Parameters:
nodeService
- the node servicestoreRef
- the store reference
- Returns:
- string containing textual representation of the contents of the store
dumpNode
public static java.lang.String dumpNode(org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.NodeRef nodeRef)
- Dumps the contents of a node
- Parameters:
nodeService
- nodeRef
-
- Returns:
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.