comm.serializeAndPostData (docToSend);
serializeAndPostDoc (docToSend);
  protected void sendDataToVishnu (List tasks, 								   Map nameToDescrip, 								   boolean clearDatabase, 								   boolean sendingChangedObjects,								   String assetClassName) {	int totalSent  = 0;	XMLizer dataXMLizer = xmlProcessor.getDataXMLizer ();		if (myExtraOutput) 	  System.out.println (getName () + ".sendDataToVishnu - Num tasks/assets before adding changed " + tasks.size ());	tasks.addAll (parent.getChangedAssets());	if (myExtraOutput) 	  System.out.println (getName () + ".sendDataToVishnu - Num tasks/assets after adding changed  " + tasks.size ());	int totalTasks = tasks.size ();		while (totalSent < totalTasks) {	  int toIndex = totalSent+sendDataChunkSize;	  if (toIndex > totalTasks)		toIndex = totalTasks;	  	  Collection chunk = new ArrayList (tasks.subList (totalSent, toIndex));	  if (myExtraOutput)		System.out.println (getName () + ".sendDataToVishnu, from " + totalSent + " to " + toIndex);	  	  Document docToSend = 		xmlProcessor.prepareDocument (chunk, parent.getChangedAssets(), dataXMLizer, clearDatabase, sendingChangedObjects, assetClassName);	  comm.serializeAndPostData (docToSend);	  if (clearDatabase) clearDatabase = false; // flip bit after first one	  totalSent += sendDataChunkSize;	}	parent.clearChangedAssets ();	sendOtherData ();  }