Class ExportClientProcess

  • All Implemented Interfaces:

    public class ExportClientProcess
    extends Object
    implements Process
    The export client process is called from the ui. It exports all the data from one client using a specific dataset. It again calls the DataExportService for the actual export.
    • Field Detail


        public static final String CLIENT_DATA_FILE_NAME
        The filename of the export file with client data.
        See Also:
        Constant Field Values

        public static final String EXPORT_DIR_NAME
        The directory within WEB-INF in which the export file is placed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExportClientProcess

        public ExportClientProcess()
    • Method Detail

      • getExportDir

        public static File getExportDir()
        Returns the export file into which the xml is written or from the export can be read.
      • execute

        public void execute​(ProcessBundle bundle)
                     throws Exception
        Executes the export process. The expected parameters in the bundle are clientId (denoting the client) and fileLocation giving the full path location of the file in which the data for the export should go.
        Specified by:
        execute in interface Process
        bundle - the process' parameters, security and contextual information
        Exception - if an error occurs executing the process