Package org.apache.ofbiz.content.data
Class DataEvents
- java.lang.Object
-
- org.apache.ofbiz.content.data.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)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
err_resource
public static final java.lang.String err_resource
- See Also:
- Constant Field Values
-
-
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.
-
-