Package org.apache.ofbiz.content.compdoc
Class CompDocEvents
- java.lang.Object
-
- org.apache.ofbiz.content.compdoc.CompDocEvents
-
public class CompDocEvents extends java.lang.Object
CompDocEvents Class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description CompDocEvents()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
genCompDocPdf(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static java.lang.String
genContentPdf(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static java.lang.String
padNumberWithLeadingZeros(java.lang.Long num, java.lang.Integer padLen)
static java.lang.String
persistRootCompDoc(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Method Detail
-
persistRootCompDoc
public static java.lang.String persistRootCompDoc(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Parameters:
request
-response
-- Returns:
- Creates the topmost Content entity of a Composite Document tree. Also creates an "empty" Composite Document Instance Content entity. Creates ContentRevision/Item records for each, as well.
-
padNumberWithLeadingZeros
public static java.lang.String padNumberWithLeadingZeros(java.lang.Long num, java.lang.Integer padLen)
-
genCompDocPdf
public static java.lang.String genCompDocPdf(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
genContentPdf
public static java.lang.String genContentPdf(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-