Examples of saveData()


Examples of org.jboss.seam.document.DocumentStore.saveData()

      }

      String id = store.newId();
      String url = store.preferredUrlForContent(baseName, documentType.getExtension(), id);
      url = Manager.instance().encodeConversationId(url, viewId);
      store.saveData(id, documentData);
      log.debug("Redirecting to #0 for PDF view", url);
      facesContext.getExternalContext().redirect(url);
   }

   @Override
View Full Code Here

Examples of org.jboss.seam.document.DocumentStore.saveData()

         String id = store.newId();

         String url = store.preferredUrlForContent(baseName, documentType.getExtension(), id);
         url = Manager.instance().encodeConversationId(url, viewId);

         store.saveData(id, documentData);

         removeITextObject();

         context.getExternalContext().redirect(url);
      }
View Full Code Here

Examples of org.jboss.seam.document.DocumentStore.saveData()

         String id = store.newId();

         String url = store.preferredUrlForContent(baseName, type.getExtension(), id);
         url = Manager.instance().encodeConversationId(url, viewId);

         store.saveData(id, documentData);

         context.getExternalContext().redirect(url);

      }
      else
View Full Code Here

Examples of org.jboss.seam.document.DocumentStore.saveData()

         String id = store.newId();

         String url = store.preferredUrlForContent(baseName, documentType.getExtension(), id);
         url = Manager.instance().encodeConversationId(url, viewId);

         store.saveData(id, documentData);

         removeITextObject();

         context.getExternalContext().redirect(url);
      }
View Full Code Here

Examples of org.jboss.seam.document.DocumentStore.saveData()

        String id = store.newId();
        String url = store.preferredUrlForContent(baseName, documentType
                .getExtension(), id);
        url = Manager.instance().encodeConversationId(url, viewId);
        store.saveData(id, documentData);
        log.debug("Redirecting to #0 for PDF view", url);
        facesContext.getExternalContext().redirect(url);
    }

    public static String baseNameForViewId(String viewId) {
View Full Code Here

Examples of org.jboss.seam.document.DocumentStore.saveData()

        documentData.setFilename(resource.getFileName());
        documentData.setDisposition(resource.getDisposition());

        String url = store.preferredUrlForContent(resource.getFileName(), type.getExtension(), id);
        url = Manager.instance().encodeConversationId(url, viewId);
        store.saveData(id, documentData);
        return url;
    }

    static class DownloadableDocumentData
        extends DocumentData
View Full Code Here

Examples of org.jboss.serial.objectmetamodel.DataContainer.saveData()

        ObjectOutput objectOutput = dataContainer.getOutput();
        objectOutput.writeObject(obj);

        //objectOutput.flush();
        dataContainer.saveData(dataOutput);

        //this.flush();
    }

    protected void writeObjectOverride(Object obj) throws IOException {
View Full Code Here

Examples of org.jboss.serial.objectmetamodel.DataContainer.saveData()

        ObjectOutput objectOutput = dataContainer.getOutput();
        objectOutput.writeObject(obj);

        //objectOutput.flush();
        dataContainer.saveData(dataOutput);

        //this.flush();
    }

    protected void writeObjectOverride(Object obj) throws IOException {
View Full Code Here

Examples of org.jboss.serial.objectmetamodel.DataContainer.saveData()

/*     */     }
/*     */
/* 158 */     ObjectOutput objectOutput = dataContainer.getOutput();
/* 159 */     objectOutput.writeObject(obj);
/*     */
/* 162 */     dataContainer.saveData(this.dataOutput);
/*     */   }
/*     */
/*     */   protected void writeObjectOverride(Object obj)
/*     */     throws IOException
/*     */   {
View Full Code Here

Examples of org.springframework.integration.samples.voldemort.service.BusinessService.saveData()

      }

      try {

        System.out.println(String.format("Persisting String: '%s' with key '%s'.", data, key));
        service.saveData(key, data);

      } catch (Exception e) {
        LOGGER.error("An exception was caught: " + e);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.