psdi.dm.distribution

Class DMFileHandler

  • java.lang.Object
    • psdi.dm.distribution.DMFileHandler


  • public class DMFileHandler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      DMFileHandler() 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String action(java.lang.String path, java.lang.String fileName, java.lang.String jarName, MboRemote pkgMbo, MboRemote infoMbo)
      Create a new jar file for all staging records for a package
      static void copyToFileURL(java.lang.String fileName, MboRemote infoMbo, java.lang.String jarName)
      Copy the jar file from outbound folder to the folder specified in URL column.
      static void copyToFileURL(java.lang.String fileName, java.lang.String filePath, java.lang.String jarName)
      Copy the jar file from outbound folder to the folder specified in URL column.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DMFileHandler

        public DMFileHandler()
    • Method Detail

      • action

        public java.lang.String action(java.lang.String path,
                                       java.lang.String fileName,
                                       java.lang.String jarName,
                                       MboRemote pkgMbo,
                                       MboRemote infoMbo)
                                throws MXException,
                                       java.rmi.RemoteException
        Create a new jar file for all staging records for a package
        Parameters:
        pkgMbo -
        infoMbo -
        Returns:
        jar file name
        Throws:
        MXException
        java.rmi.RemoteException
      • copyToFileURL

        public static void copyToFileURL(java.lang.String fileName,
                                         MboRemote infoMbo,
                                         java.lang.String jarName)
                                  throws java.lang.Exception
        Copy the jar file from outbound folder to the folder specified in URL column.
        Parameters:
        fileName- - Name with full path of the file in inboundfolder
        infoMbo - - dmpkgdsttrgt mbo
        jarName - - Name of the jarfile
        Throws:
        java.lang.Exception
      • copyToFileURL

        public static void copyToFileURL(java.lang.String fileName,
                                         java.lang.String filePath,
                                         java.lang.String jarName)
                                  throws java.lang.Exception
        Copy the jar file from outbound folder to the folder specified in URL column.
        Parameters:
        fileName- - Name with full path of the file in inboundfolder
        infoMbo - - dmpkgdsttrgt mbo
        jarName - - Name of the jarfile
        Throws:
        java.lang.Exception