mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixed benchmark folder creation algorithm.
Added ability to upload multiple files at a time. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
package org.alfresco.service.cmr.remote;
|
||||
|
||||
import org.alfresco.service.cmr.model.FileInfo;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.cmr.repository.StoreRef;
|
||||
|
||||
@@ -72,4 +73,15 @@ public interface LoaderRemote
|
||||
* @return Returns the total number of nodes for the given ADM store
|
||||
*/
|
||||
public int getNodeCount(String ticket, StoreRef storeRef);
|
||||
|
||||
/**
|
||||
* Upload multiple files to a folder.
|
||||
*
|
||||
* @param ticket the authentication ticket
|
||||
* @param folderNodeRef the folder to upload to
|
||||
* @param filenames the names of the files to upload
|
||||
* @param bytes the contents of the files
|
||||
* @return Returns the details of each file created
|
||||
*/
|
||||
public FileInfo[] uploadContent(String ticket, NodeRef folderNodeRef, String[] filenames, byte[][] bytes);
|
||||
}
|
||||
|
Reference in New Issue
Block a user