Class NodeStoreInspector


  • public class NodeStoreInspector
    extends java.lang.Object
    Debug class that has methods to inspect the contents of a node store.
    Author:
    Roy Wetherall
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • NodeStoreInspector

        public NodeStoreInspector()
    • Method Detail

      • 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 service
        storeRef - 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 - NodeService
        nodeRef - NodeRef
        Returns:
        String