Author: xlawrence
Date: Fri Jun 22 11:34:43 2007
New Revision: 17709
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D17709&repname=
=3Djahia
Log:
up-to-date javadoc
Modified:
branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/engines/filemanage=
r/DAVFilemanager_Engine.java
Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/engines/file=
manager/DAVFilemanager_Engine.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/core/src/java/org/jahia/engines/filemanager/DAVFilemanager_Engine.j=
ava&rev=3D17709&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/engines/filemanage=
r/DAVFilemanager_Engine.java (original)
+++ branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/engines/filemanage=
r/DAVFilemanager_Engine.java Fri Jun 22 11:34:43 2007
@@ -1135,12 +1135,13 @@
* Method that uploads a file into the DAV repository and renames the =
file if it already exists, by adding a
* '_Number' at the end of the fileName. <br/>
* It is used by the form generator to upload files.<br/>
- * It also puts the file inside a sub directory named as the current d=
ate.
+ * It also puts the file inside a sub directory named as the current d=
ate. So the final target upload path is something
+ * of the form 'uploadPath + "/" + today', where today is a "dd.MM.yyy=
y" date of the current day.
*
* @param uploadPath The path where to upload the file
* @param processingContext
* @param fieldFormID The value of the 'name' attribute of the "input"=
tag where the file was uploaded
- * @return The download URL of the file or null if upload failed
+ * @return The final path where the file was uploaded or null if an er=
ror occured
*/
public String uploadAndRenameAutomatically(final String uploadPath,
final ProcessingContext pro=
cessingContext,
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list