ccc.migration
Interface IFileUploader

All Known Implementing Classes:
FileUploader

Deprecated.

@Deprecated
public interface IFileUploader

API for uploading files.

Author:
Civic Computing Ltd.

Method Summary
 void uploadFile(java.util.UUID parentId, java.lang.String fileName, java.lang.String originalTitle, java.lang.String originalDescription, java.util.Date originalLastUpdate, java.io.File file, boolean publish)
          Deprecated. Upload a file.
 void uploadFile(java.util.UUID parentId, java.lang.String fileName, java.lang.String title, java.lang.String description, java.util.Date lastUpdate, java.lang.String directory)
          Deprecated. Upload a file.
 

Method Detail

uploadFile

void uploadFile(java.util.UUID parentId,
                java.lang.String fileName,
                java.lang.String originalTitle,
                java.lang.String originalDescription,
                java.util.Date originalLastUpdate,
                java.io.File file,
                boolean publish)
Deprecated. 
Upload a file.

Parameters:
parentId - The folder in which the file should be uploaded.
fileName - The name of the file.
originalTitle - The title of the file.
originalDescription - The file's description.
originalLastUpdate - The file's last update date.
file - The local file reference.
publish - Should the file be published.

uploadFile

void uploadFile(java.util.UUID parentId,
                java.lang.String fileName,
                java.lang.String title,
                java.lang.String description,
                java.util.Date lastUpdate,
                java.lang.String directory)
Deprecated. 
Upload a file.

Parameters:
parentId - The folder in which the file should be uploaded.
fileName - The name of the file.
title - The title of the file.
lastUpdate - The last update of the file.
description - The file's description.
directory - The directory that the local file is stored.


Copyright © 2010. All Rights Reserved.