public class StorageApi extends Object
| Constructor and Description |
|---|
StorageApi() |
public ApiInvoker getInvoker()
public void setBasePath(String basePath)
public String getBasePath()
public StorageInfoResponse GetStorageInfo(String userId) throws ApiException
ApiExceptionpublic ListEntitiesResponse ListEntities(String userId, String path, Integer pageIndex, Integer pageSize, String orderBy, Boolean orderAsc, String filter, String fileTypes, Boolean extended) throws ApiException
ApiExceptionpublic String GetFile(String userId, String fileId) throws ApiException
ApiExceptionpublic String GetSharedFile(String userEmail, String filePath) throws ApiException
ApiExceptionpublic UploadResponse Upload(String userId, String path, String description, InputStream body) throws ApiException
ApiExceptionpublic UploadResponse UploadWeb(String userId, String url) throws ApiException
ApiExceptionpublic UploadResponse UploadGoogle(String userId, String path, String fileId) throws ApiException
ApiExceptionpublic DeleteResponse Delete(String userId, String fileId) throws ApiException
ApiExceptionpublic DeleteResponse DeleteFromFolder(String userId, String path) throws ApiException
ApiExceptionpublic FileMoveResponse MoveFile(String userId, String path, String mode, String Groupdocs_Move, String Groupdocs_Copy) throws ApiException
ApiExceptionpublic FolderMoveResponse MoveFolder(String userId, String path, String mode, String Groupdocs_Copy, String Groupdocs_Move) throws ApiException
ApiExceptionpublic CreateFolderResponse Create(String userId, String path) throws ApiException
ApiExceptionpublic CompressResponse Compress(String userId, String fileId, String archiveType) throws ApiException
ApiExceptionpublic CreatePackageResponse CreatePackage(String userId, String packageName, Boolean storeRelativePath, List<String> body) throws ApiException
ApiExceptionpublic FolderMoveResponse MoveToTrash(String userId, String path) throws ApiException
ApiExceptionpublic DeleteResponse RestoreFromTrash(String userId, String path) throws ApiException
ApiExceptionCopyright © 2012. All Rights Reserved.