public class FoldersApi extends Object
| Constructor and Description |
|---|
FoldersApi() |
FoldersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
DocumentRevisionDTO |
createDocumentMasterInFolder(String workspaceId,
DocumentCreationDTO body,
String folderId)
Create a new document revision in given folder
|
com.squareup.okhttp.Call |
createDocumentMasterInFolderAsync(String workspaceId,
DocumentCreationDTO body,
String folderId,
ApiCallback<DocumentRevisionDTO> callback)
Create a new document revision in given folder (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
createDocumentMasterInFolderWithHttpInfo(String workspaceId,
DocumentCreationDTO body,
String folderId)
Create a new document revision in given folder
|
FolderDTO |
createRootFolder(String workspaceId,
FolderDTO body)
Create root folder
|
com.squareup.okhttp.Call |
createRootFolderAsync(String workspaceId,
FolderDTO body,
ApiCallback<FolderDTO> callback)
Create root folder (asynchronously)
|
ApiResponse<FolderDTO> |
createRootFolderWithHttpInfo(String workspaceId,
FolderDTO body)
Create root folder
|
FolderDTO |
createSubFolder(String workspaceId,
String parentFolderPath,
FolderDTO body)
Create a sub folder in a given folder
|
com.squareup.okhttp.Call |
createSubFolderAsync(String workspaceId,
String parentFolderPath,
FolderDTO body,
ApiCallback<FolderDTO> callback)
Create a sub folder in a given folder (asynchronously)
|
ApiResponse<FolderDTO> |
createSubFolderWithHttpInfo(String workspaceId,
String parentFolderPath,
FolderDTO body)
Create a sub folder in a given folder
|
void |
deleteRootFolder(String workspaceId,
String folderId)
Delete root folder
|
com.squareup.okhttp.Call |
deleteRootFolderAsync(String workspaceId,
String folderId,
ApiCallback<Void> callback)
Delete root folder (asynchronously)
|
ApiResponse<Void> |
deleteRootFolderWithHttpInfo(String workspaceId,
String folderId)
Delete root folder
|
ApiClient |
getApiClient() |
List<DocumentRevisionDTO> |
getDocumentsWithGivenFolderIdAndWorkspaceId(String workspaceId,
String folderId)
Get document revisions in given folder
|
com.squareup.okhttp.Call |
getDocumentsWithGivenFolderIdAndWorkspaceIdAsync(String workspaceId,
String folderId,
ApiCallback<List<DocumentRevisionDTO>> callback)
Get document revisions in given folder (asynchronously)
|
ApiResponse<List<DocumentRevisionDTO>> |
getDocumentsWithGivenFolderIdAndWorkspaceIdWithHttpInfo(String workspaceId,
String folderId)
Get document revisions in given folder
|
List<FolderDTO> |
getRootFolders(String workspaceId)
Get root folders
|
com.squareup.okhttp.Call |
getRootFoldersAsync(String workspaceId,
ApiCallback<List<FolderDTO>> callback)
Get root folders (asynchronously)
|
ApiResponse<List<FolderDTO>> |
getRootFoldersWithHttpInfo(String workspaceId)
Get root folders
|
List<FolderDTO> |
getSubFolders(String workspaceId,
String completePath)
Get sub folders of given folder
|
com.squareup.okhttp.Call |
getSubFoldersAsync(String workspaceId,
String completePath,
ApiCallback<List<FolderDTO>> callback)
Get sub folders of given folder (asynchronously)
|
ApiResponse<List<FolderDTO>> |
getSubFoldersWithHttpInfo(String workspaceId,
String completePath)
Get sub folders of given folder
|
FolderDTO |
moveFolder(String workspaceId,
String folderId,
FolderDTO body)
Move a folder to given folder
|
com.squareup.okhttp.Call |
moveFolderAsync(String workspaceId,
String folderId,
FolderDTO body,
ApiCallback<FolderDTO> callback)
Move a folder to given folder (asynchronously)
|
ApiResponse<FolderDTO> |
moveFolderWithHttpInfo(String workspaceId,
String folderId,
FolderDTO body)
Move a folder to given folder
|
FolderDTO |
renameFolder(String workspaceId,
String folderId,
FolderDTO body)
Rename a folder
|
com.squareup.okhttp.Call |
renameFolderAsync(String workspaceId,
String folderId,
FolderDTO body,
ApiCallback<FolderDTO> callback)
Rename a folder (asynchronously)
|
ApiResponse<FolderDTO> |
renameFolderWithHttpInfo(String workspaceId,
String folderId,
FolderDTO body)
Rename a folder
|
void |
setApiClient(ApiClient apiClient) |
public FoldersApi()
public FoldersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<FolderDTO> getRootFolders(String workspaceId) throws ApiException
workspaceId - Workspace idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<FolderDTO>> getRootFoldersWithHttpInfo(String workspaceId) throws ApiException
workspaceId - Workspace idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getRootFoldersAsync(String workspaceId, ApiCallback<List<FolderDTO>> callback) throws ApiException
workspaceId - Workspace idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic FolderDTO createRootFolder(String workspaceId, FolderDTO body) throws ApiException
workspaceId - Workspace idbody - Folder to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FolderDTO> createRootFolderWithHttpInfo(String workspaceId, FolderDTO body) throws ApiException
workspaceId - Workspace idbody - Folder to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createRootFolderAsync(String workspaceId, FolderDTO body, ApiCallback<FolderDTO> callback) throws ApiException
workspaceId - Workspace idbody - Folder to createcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic List<FolderDTO> getSubFolders(String workspaceId, String completePath) throws ApiException
workspaceId - Workspace idcompletePath - Folder idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<FolderDTO>> getSubFoldersWithHttpInfo(String workspaceId, String completePath) throws ApiException
workspaceId - Workspace idcompletePath - Folder idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSubFoldersAsync(String workspaceId, String completePath, ApiCallback<List<FolderDTO>> callback) throws ApiException
workspaceId - Workspace idcompletePath - Folder idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic FolderDTO renameFolder(String workspaceId, String folderId, FolderDTO body) throws ApiException
workspaceId - Workspace idfolderId - Folder idbody - Folder with new nameApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FolderDTO> renameFolderWithHttpInfo(String workspaceId, String folderId, FolderDTO body) throws ApiException
workspaceId - Workspace idfolderId - Folder idbody - Folder with new nameApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call renameFolderAsync(String workspaceId, String folderId, FolderDTO body, ApiCallback<FolderDTO> callback) throws ApiException
workspaceId - Workspace idfolderId - Folder idbody - Folder with new namecallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic void deleteRootFolder(String workspaceId, String folderId) throws ApiException
workspaceId - Workspace idfolderId - Folder idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteRootFolderWithHttpInfo(String workspaceId, String folderId) throws ApiException
workspaceId - Workspace idfolderId - Folder idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteRootFolderAsync(String workspaceId, String folderId, ApiCallback<Void> callback) throws ApiException
workspaceId - Workspace idfolderId - Folder idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic List<DocumentRevisionDTO> getDocumentsWithGivenFolderIdAndWorkspaceId(String workspaceId, String folderId) throws ApiException
workspaceId - Workspace idfolderId - Folder idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<DocumentRevisionDTO>> getDocumentsWithGivenFolderIdAndWorkspaceIdWithHttpInfo(String workspaceId, String folderId) throws ApiException
workspaceId - Workspace idfolderId - Folder idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDocumentsWithGivenFolderIdAndWorkspaceIdAsync(String workspaceId, String folderId, ApiCallback<List<DocumentRevisionDTO>> callback) throws ApiException
workspaceId - Workspace idfolderId - Folder idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic DocumentRevisionDTO createDocumentMasterInFolder(String workspaceId, DocumentCreationDTO body, String folderId) throws ApiException
workspaceId - Workspace idbody - Document to createfolderId - Folder idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> createDocumentMasterInFolderWithHttpInfo(String workspaceId, DocumentCreationDTO body, String folderId) throws ApiException
workspaceId - Workspace idbody - Document to createfolderId - Folder idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createDocumentMasterInFolderAsync(String workspaceId, DocumentCreationDTO body, String folderId, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId - Workspace idbody - Document to createfolderId - Folder idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic FolderDTO moveFolder(String workspaceId, String folderId, FolderDTO body) throws ApiException
workspaceId - Workspace idfolderId - Folder idbody - Folder to moveApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FolderDTO> moveFolderWithHttpInfo(String workspaceId, String folderId, FolderDTO body) throws ApiException
workspaceId - Workspace idfolderId - Folder idbody - Folder to moveApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call moveFolderAsync(String workspaceId, String folderId, FolderDTO body, ApiCallback<FolderDTO> callback) throws ApiException
workspaceId - Workspace idfolderId - Folder idbody - Folder to movecallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic FolderDTO createSubFolder(String workspaceId, String parentFolderPath, FolderDTO body) throws ApiException
workspaceId - Workspace idparentFolderPath - Parent folder idbody - Folder to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FolderDTO> createSubFolderWithHttpInfo(String workspaceId, String parentFolderPath, FolderDTO body) throws ApiException
workspaceId - Workspace idparentFolderPath - Parent folder idbody - Folder to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createSubFolderAsync(String workspaceId, String parentFolderPath, FolderDTO body, ApiCallback<FolderDTO> callback) throws ApiException
workspaceId - Workspace idparentFolderPath - Parent folder idbody - Folder to createcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.