collection.getDocuments(broker, docs);
collection.getDocuments(broker, docs, true);
	public void prepare(		int event,		DBBroker broker, String documentName, Document existingDocument)		throws TriggerException {		System.out.println("\nstoring document " + documentName + " into collection " + collection.getName());		if(existingDocument != null)			System.out.println("replacing document " + ((DocumentImpl)existingDocument).getFileName());		System.out.println("collection contents:");		DocumentSet docs = new DocumentSet();		collection.getDocuments(broker, docs);		for(int i = 0; i < docs.getLength(); i++)			System.out.println("\t" + ((DocumentImpl)docs.item(i)).getFileName());	}