Class PackOut


  • public class PackOut
    extends Object
    Convert AD to XML
    Version:
    $Id: PackOut.java,v 1.0 Contributor: William G. Heath - Export of workflows and dynamic validations
    Author:
    Robert Klein, Teo Sarca, SC ARHIPAC SERVICE SRL
  • BF [ 1819315 ] PackOut: fix xml indentation not working
  • BF [ 1819319 ] PackOut: use just active AD_Package_Exp_Detail lines
    • Constructor Detail

      • PackOut

        public PackOut()
    • Method Detail

      • copyFile

        public void copyFile​(String sourceName,
                             String destName)
        Parameters:
        sourceName -
        destName -
      • getCurrentPackoutItem

        public PackoutItem getCurrentPackoutItem()
        Returns:
        MPackageExpDetail
      • getPackoutDocument

        public PackoutDocument getPackoutDocument()
        Returns:
        PackoutDocument
      • getPackoutDirectory

        public String getPackoutDirectory()
      • getHandler

        public ElementHandler getHandler​(String name)
        Parameters:
        name -
        Returns:
        ElementHandler
      • getExportCount

        public int getExportCount()
        Returns:
        number of records exported
      • getExportFile

        public String getExportFile()
        Returns:
        absolute path for export file
      • setFromDate

        public void setFromDate​(Timestamp fromDate)
        Parameters:
        fromDate -
      • getFromDate

        public Timestamp getFromDate()
        Returns:
        from date
      • setCtx

        public void setCtx​(Properties ctx)
        Parameters:
        ctx -
      • isExported

        public boolean isExported​(String key)
      • isExportDictionaryEntity

        public boolean isExportDictionaryEntity()
      • setExportDictionaryEntity

        public void setExportDictionaryEntity​(boolean isExportDictionaryEntity)