org.mycore.frontend.fileupload
Class MCRSWFUploadHandlerIFS

java.lang.Object
  extended by org.mycore.frontend.fileupload.MCRUploadHandler
      extended by org.mycore.frontend.fileupload.MCRUploadHandlerIFS
          extended by org.mycore.frontend.fileupload.MCRSWFUploadHandlerIFS

public class MCRSWFUploadHandlerIFS
extends MCRUploadHandlerIFS

handles uploads via the UploadApplet and store files directly into the IFS.

Version:
$Revision: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
Author:
Thomas Scheffler (yagee), Jens Kupferschmidt
See Also:
MCRUploadHandler

Field Summary
 
Fields inherited from class org.mycore.frontend.fileupload.MCRUploadHandlerIFS
derivate, newDerivate, rootDir
 
Fields inherited from class org.mycore.frontend.fileupload.MCRUploadHandler
logger, uploadID, url
 
Constructor Summary
MCRSWFUploadHandlerIFS(String docId, String derId, String url)
          The constructor for this class.
 
Method Summary
 void finishUpload()
          Finish upload, store derivate
protected  void init(String docId, String derId)
           
 
Methods inherited from class org.mycore.frontend.fileupload.MCRUploadHandlerIFS
acceptFile, commitTransaction, createNewDerivate, getMainFilePath, receiveFile, rollbackTransaction, setDefaultPermissions, startTransaction, startUpload
 
Methods inherited from class org.mycore.frontend.fileupload.MCRUploadHandler
cancelUpload, getID, getRedirectURL, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRSWFUploadHandlerIFS

public MCRSWFUploadHandlerIFS(String docId,
                              String derId,
                              String url)
The constructor for this class. It set all data to handle with IFS upload store.

Parameters:
docId - the document ID
derId - the derivate ID
url - an URL string. Not used in this implementation.
Method Detail

init

protected void init(String docId,
                    String derId)
Overrides:
init in class MCRUploadHandlerIFS

finishUpload

public void finishUpload()
                  throws Exception
Description copied from class: MCRUploadHandlerIFS
Finish upload, store derivate

Overrides:
finishUpload in class MCRUploadHandlerIFS
Throws:
Exception