@Override
public Document createDocument(Timestamp archiveDate, Timestamp endDate,
String number, Timestamp startDate, int template, String urlToScan,
String urlToXML) {
Document doc = new Document(archiveDate, endDate, number, startDate, template, urlToScan, urlToXML);
return (Document) getHibernateTemplate().save(doc);
}