public void saveDocument() throws Exception {
   work.saveDocument();
 }
 public void uploadFile(String attachmentName, File uploadedFile, String mimeType)
     throws Exception {
   work.uploadAttachment(attachmentName, uploadedFile, mimeType);
 }
 public JSONObject getDoc() throws Exception {
   return work.getDocument();
 }