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:
David Caruana
2006-02-05 16:25:30 +00:00
parent 2c72626944
commit 70e55cebd5
17 changed files with 529 additions and 93 deletions

View File

@@ -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