Class 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)  
      • 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

      • CompDocEvents

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