info.magnolia.cms.gui.fckeditor
Class FCKEditorTmpFiles

java.lang.Object
  extended by info.magnolia.cms.gui.fckeditor.FCKEditorTmpFiles

public class FCKEditorTmpFiles
extends Object

This class handles the uploaded files for the fckeditor. The editor uses the FCKEditoSimpleUploadServlet to upload the files. The files are stored in the tmp directory until the dialog gets saved. For each file is the Document object saved in the session.

Version:
$Revision$ ($Author$)
Author:
Philipp Bracher

Constructor Summary
FCKEditorTmpFiles()
           
 
Method Summary
static void addDocument(Document doc, String uuid)
          Add a document to the session
static Document getDocument(String uuid)
          Get a saved document
static void removeDocument(String uuid)
          Remove a document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FCKEditorTmpFiles

public FCKEditorTmpFiles()
Method Detail

getDocument

public static Document getDocument(String uuid)
Get a saved document

Parameters:
uuid -
Returns:
the document

addDocument

public static void addDocument(Document doc,
                               String uuid)
Add a document to the session

Parameters:
doc -
uuid -

removeDocument

public static void removeDocument(String uuid)
Remove a document.

Parameters:
uuid -


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.