Package org.apache.ofbiz.content.compdoc
Class CompDocServices
- java.lang.Object
-
- org.apache.ofbiz.content.compdoc.CompDocServices
-
public class CompDocServices extends java.lang.Object
CompDocEvents Class
-
-
Constructor Summary
Constructors Constructor Description CompDocServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
persistRootCompDoc(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Creates the topmost Content entity of a Composite Document tree.static java.util.Map<java.lang.String,java.lang.Object>
renderCompDocPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
renderContentPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
-
Method Detail
-
persistRootCompDoc
public static java.util.Map<java.lang.String,java.lang.Object> persistRootCompDoc(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
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.- Parameters:
dctx
- the dispatch contextcontext
- the context- Returns:
- Creates the topmost Content entity of a Composite Document tree
-
renderCompDocPdf
public static java.util.Map<java.lang.String,java.lang.Object> renderCompDocPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
renderContentPdf
public static java.util.Map<java.lang.String,java.lang.Object> renderContentPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-