mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
AR-380 - Export/Import of Forums/Discussions failed.
AR-395 - Provide abstract bean definition for DictionaryBootstrap Fix build issue; JCR Import failed due to recent extension config changes Fix issue in ISO9075 encoder; failed to encode colon properly meaning that Discussion Posts (with have colon seperated dates in their name) were not importing/exporting. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -62,6 +62,32 @@ public class NodeStoreInspector
|
||||
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Dumps the contents of a node
|
||||
*
|
||||
* @param nodeService
|
||||
* @param nodeRef
|
||||
* @return
|
||||
*/
|
||||
public static String dumpNode(NodeService nodeService, NodeRef nodeRef)
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
if (nodeService.exists(nodeRef) == true)
|
||||
{
|
||||
builder.append(outputNode(0, nodeService, nodeRef));
|
||||
}
|
||||
else
|
||||
{
|
||||
builder.
|
||||
append("The node ").
|
||||
append(nodeRef.toString()).
|
||||
append(" does not exist.");
|
||||
}
|
||||
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Output the node
|
||||
|
Reference in New Issue
Block a user