Class DataEvents


  • public class DataEvents
    extends java.lang.Object
    DataEvents Class
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String err_resource  
      static java.lang.String module  
    • Constructor Summary

      Constructors 
      Constructor Description
      DataEvents()  
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String persistDataResource​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Dual create and edit event.
      static java.lang.String serveImage​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Deprecated.
      static java.lang.String serveObjectData​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Streams any binary content data to the browser.
      static java.lang.String uploadImage​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • DataEvents

        public DataEvents()
    • Method Detail

      • uploadImage

        public static java.lang.String uploadImage​(javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
      • serveObjectData

        public static java.lang.String serveObjectData​(javax.servlet.http.HttpServletRequest request,
                                                       javax.servlet.http.HttpServletResponse response)
        Streams any binary content data to the browser.

        Supersedes DataEvents#serveImage()

      • serveImage

        @Deprecated
        public static java.lang.String serveImage​(javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.http.HttpServletResponse response)
        Deprecated.
        Streams ImageDataResource data to the output.

        Superseded by DataEvents#serveObjectData

      • persistDataResource

        public static java.lang.String persistDataResource​(javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response)
        Dual create and edit event. Needed to make permission criteria available to services.