Esempio n. 1
0
 public void updateImage(ImageData imageData) throws Exception {
   fUpdateTopicContent.setString(1, imageData.getUrl());
   fUpdateTopicContent.setString(2, imageData.getFilename());
   fUpdateTopicContent.setString(3, imageData.getName());
   fUpdateTopicContent.execute();
 }
Esempio n. 2
0
 public void insertImage(ImageData imageData) throws Exception {
   fInsertImage.setString(1, imageData.getName());
   fInsertImage.setString(2, imageData.getUrl());
   fInsertImage.setString(3, imageData.getFilename());
   fInsertImage.execute();
 }