Class CompDocServices


  • public class CompDocServices
    extends java.lang.Object
    CompDocEvents Class
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
      static java.lang.String resource  
    • 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)  
      • 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

      • CompDocServices

        public CompDocServices()
    • 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 context
        context - 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)