Ontimize 5.2072EN

com.ontimize.gui.actions
Class DownloadAttachmentFileAction

java.lang.Object
  extended bycom.ontimize.gui.actions.AbstractButtonAction
      extended bycom.ontimize.gui.actions.DownloadAttachmentFileAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class DownloadAttachmentFileAction
extends AbstractButtonAction

Copyright: Copyright (c) 2003

Version:
1.0

Nested Class Summary
protected  class DownloadAttachmentFileAction.DownloadThread
           
 
Field Summary
protected  int blockSize
           
protected  java.lang.String entityName
           
protected  javax.swing.JFileChooser fileChooser
           
protected  java.lang.String fileFieldName
           
protected static java.io.File lastDirectory
           
protected  boolean openFile
           
protected  boolean queryOpen
           
protected  boolean synchronize
           
protected  boolean tempFile
           
protected  java.lang.String uriSound
           
 
Constructor Summary
DownloadAttachmentFileAction(java.lang.String entity, boolean openFile)
           
DownloadAttachmentFileAction(java.lang.String entity, boolean openFile, java.lang.String sugestFieldName)
           
DownloadAttachmentFileAction(java.lang.String entity, boolean openFile, java.lang.String sugestFieldName, boolean wait)
           
DownloadAttachmentFileAction(java.lang.String entity, boolean openFile, java.lang.String sugestFieldName, boolean wait, java.lang.String uriSound)
           
DownloadAttachmentFileAction(java.lang.String entity, boolean openFile, java.lang.String sugestFieldName, boolean wait, java.lang.String uriSound, boolean askToOpen)
           
DownloadAttachmentFileAction(java.lang.String entity, boolean openFile, java.lang.String sugestFieldName, boolean wait, java.lang.String uriSound, boolean askToOpen, boolean temporalFile)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  ExtendedOperationThread createDownloadThread(Form f, java.io.File selectedFile, java.util.Hashtable kv, FileManagementEntity entF, EntityReferenceLocator loc)
           
protected  java.util.Hashtable getAttachmentValuesKeys(Form f)
           
protected  java.lang.String getProposedFileName(java.awt.event.ActionEvent e)
           
 
Methods inherited from class com.ontimize.gui.actions.AbstractButtonAction
getForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockSize

protected int blockSize

entityName

protected java.lang.String entityName

fileChooser

protected javax.swing.JFileChooser fileChooser

openFile

protected boolean openFile

fileFieldName

protected java.lang.String fileFieldName

synchronize

protected boolean synchronize

uriSound

protected java.lang.String uriSound

queryOpen

protected boolean queryOpen

tempFile

protected boolean tempFile

lastDirectory

protected static java.io.File lastDirectory
Constructor Detail

DownloadAttachmentFileAction

public DownloadAttachmentFileAction(java.lang.String entity,
                                    boolean openFile)

DownloadAttachmentFileAction

public DownloadAttachmentFileAction(java.lang.String entity,
                                    boolean openFile,
                                    java.lang.String sugestFieldName)

DownloadAttachmentFileAction

public DownloadAttachmentFileAction(java.lang.String entity,
                                    boolean openFile,
                                    java.lang.String sugestFieldName,
                                    boolean wait)

DownloadAttachmentFileAction

public DownloadAttachmentFileAction(java.lang.String entity,
                                    boolean openFile,
                                    java.lang.String sugestFieldName,
                                    boolean wait,
                                    java.lang.String uriSound)

DownloadAttachmentFileAction

public DownloadAttachmentFileAction(java.lang.String entity,
                                    boolean openFile,
                                    java.lang.String sugestFieldName,
                                    boolean wait,
                                    java.lang.String uriSound,
                                    boolean askToOpen)

DownloadAttachmentFileAction

public DownloadAttachmentFileAction(java.lang.String entity,
                                    boolean openFile,
                                    java.lang.String sugestFieldName,
                                    boolean wait,
                                    java.lang.String uriSound,
                                    boolean askToOpen,
                                    boolean temporalFile)
Method Detail

getAttachmentValuesKeys

protected java.util.Hashtable getAttachmentValuesKeys(Form f)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

getProposedFileName

protected java.lang.String getProposedFileName(java.awt.event.ActionEvent e)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

createDownloadThread

protected ExtendedOperationThread createDownloadThread(Form f,
                                                       java.io.File selectedFile,
                                                       java.util.Hashtable kv,
                                                       FileManagementEntity entF,
                                                       EntityReferenceLocator loc)

Ontimize