Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Community Day 2 - 2016

      Description

      • Make class as final.
      • Add a private constructor.
      • Make the following protected variable as private
            protected static FopFactory fopFactory = null;
        
      • Make the following public variable as private
            public static final String tempFilePrefix = "org.ofbiz.webapp.view.ApacheFopWorker-";
        
            public static final int encryptionLengthBitsDefault = 128;
            
            public static final String encryptionLengthDefault = UtilProperties.getPropertyValue("fop", "fop.encryption-length.default", String.valueOf(encryptionLengthBitsDefault));
        
            public static final String userPasswordDefault = UtilProperties.getPropertyValue("fop", "fop.userPassword.default");
        
            public static final String ownerPasswordDefault = UtilProperties.getPropertyValue("fop", "fop.ownerPassword.default");
        
            public static final String allowPrintDefault = UtilProperties.getPropertyValue("fop", "fop.allowPrint.default", "true");
        
            public static final String allowCopyContentDefault = UtilProperties.getPropertyValue("fop", "fop.allowCopyContent.default", "true");
        
            public static final String allowEditContentDefault = UtilProperties.getPropertyValue("fop", "fop.allowEditContent.default", "true");
        
            public static final String allowEditAnnotationsDefault = UtilProperties.getPropertyValue("fop", "fop.allowEditAnnotations.default", "true");
        
            public static final String allowFillInFormsDefault = UtilProperties.getPropertyValue("fop", "fop.allowFillInForms.default", "true");
        
            public static final String allowAccessContentDefault = UtilProperties.getPropertyValue("fop", "fop.allowAccessContent.default", "true");
        
            public static final String allowAssembleDocumentDefault = UtilProperties.getPropertyValue("fop", "fop.allowAssembleDocument.default", "true");
        
            public static final String allowPrintHqDefault = UtilProperties.getPropertyValue("fop", "fop.allowPrintHq.default", "true");
        
            public static final String encryptMetadataDefault = UtilProperties.getPropertyValue("fop", "fop.encrypt-metadata.default", "true");
            
            public static final String fopPath = UtilProperties.getPropertyValue("fop", "fop.path", "/framework/webapp/config");
            
            public static final String fopFontBaseProperty = UtilProperties.getPropertyValue("fop", "fop.font.base.url", "/framework/webapp/config/");
        
        
      • Make getter methods for all above converted private variables.
      1. OFBIZ-7459.patch
        12 kB
        Rohit Koushal

        Activity

        Hide
        rohit.koushal Rohit Koushal added a comment -

        Thanks Arun Patidar and Rishi Solanki for the details. Here is the patch for the issue

        Show
        rohit.koushal Rohit Koushal added a comment - Thanks Arun Patidar and Rishi Solanki for the details. Here is the patch for the issue
        Hide
        arunpati Arun Patidar added a comment -

        Committed changes in trunk at rev: 1750534.

        Thanks Rishi Solanki and Rohit Koushal for your contribution.

        Show
        arunpati Arun Patidar added a comment - Committed changes in trunk at rev: 1750534. Thanks Rishi Solanki and Rohit Koushal for your contribution.

          People

          • Assignee:
            arunpati Arun Patidar
            Reporter:
            arunpati Arun Patidar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Agile