code: public static org.neo4j.graphdb.Node createTemplateNode(
  			final AbstractGraphDatabase graphDatabase,
  			final StatusUpdateTemplate template) {
  		final org.neo4j.graphdb.Node templateNode = graphDatabase.createNode();
  
  		// write template information
  		templateNode.setProperty(Properties.Templates.IDENTIFIER,
  				template.getName());
  		templateNode.setProperty(Properties.Templates.VERSION,
  				template.getVersion());
  		templateNode.setProperty(Properties.Templates.CODE,
  				template.getJavaCode());
  
  		org.neo4j.graphdb.Node itemNode;
  
  		// write template field items
  		TemplateFieldInfo fieldInfo;
  		for (String fieldName : template.getFields().keySet()) {
  			fieldInfo = template.getFields().get(fieldName);
  			itemNode = TemplateFieldInfo.createTemplateFieldInfoNode(
  					graphDatabase, fieldInfo);
  			templateNode.createRelationshipTo(itemNode,
  					SocialGraphRelationshipType.Templates.FIELD);
  		}
  
  		// write template file items
  		TemplateFileInfo fileInfo;
  		for (String fileName : template.getFiles().keySet()) {
  			fileInfo = template.getFiles().get(fileName);
  			itemNode = TemplateFileInfo.createTemplateFileInfoNode(
  					graphDatabase, fileInfo);
  			templateNode.createRelationshipTo(itemNode,
  					SocialGraphRelationshipType.Templates.FILE);
  		}
  
  		return templateNode;
  	}
docs: create a database node representing a status update template
  
  @param graphDatabase
  neo4j database to create the node in
  @param template
  status update template to be represented by the node
  @return neo4j node representing the status update template passed