public class DocApi extends Object
| Constructor and Description |
|---|
DocApi() |
public ApiInvoker getInvoker()
public void setBasePath(String basePath)
public String getBasePath()
public ViewDocumentResponse ViewDocument(String userId, String fileId, String pageNumber, String pageCount, String width, String quality, String usePdf, String passwordSalt) throws ApiException
ApiExceptionpublic DocumentViewsResponse GetDocumentViews(String userId, String startIndex, String pageSize) throws ApiException
ApiExceptionpublic SharedUsersResponse ShareDocument(String userId, String fileId, List<String> body) throws ApiException
ApiExceptionpublic SetDocumentPasswordResponse SetDocumentPassword(String userId, String fileId, String body) throws ApiException
ApiExceptionpublic SharedUsersResponse UnshareDocument(String userId, String fileId) throws ApiException
ApiExceptionpublic SharedUsersResponse GetFolderSharers(String userId, String folderId) throws ApiException
ApiExceptionpublic SharedUsersResponse ShareFolder(String userId, String folderId, List<String> body) throws ApiException
ApiExceptionpublic SharedUsersResponse UnshareFolder(String userId, String folderId) throws ApiException
ApiExceptionpublic DocumentAccessInfoResponse SetDocumentAccessMode(String userId, String fileId, String mode) throws ApiException
ApiExceptionpublic DocumentAccessInfoResponse GetDocumentAccessInfo(String userId, String fileId) throws ApiException
ApiExceptionpublic GetDocumentInfoResponse GetDocumentMetadata(String userId, String fileId) throws ApiException
ApiExceptionpublic GetDocumentInfoResponse GetDocumentMetadataByPath(String userId, String path) throws ApiException
ApiExceptionpublic DocumentUserStatusResponse SetDocumentUserStatus(String userId, String fileId, String status) throws ApiException
ApiExceptionpublic SharedDocumentsResponse GetSharedDocuments(String userId, String sharesTypes, String pageIndex, String pageSize, String orderBy, Boolean orderAsc) throws ApiException
ApiExceptionpublic TemplateFieldsResponse GetTemplateFields(String userId, String fileId, Boolean includeGeometry) throws ApiException
ApiExceptionpublic TemplateEditorFieldsResponse GetTemplateEditorFields(String userId, String fileId) throws ApiException
ApiExceptionpublic GetDocumentForeignTypesResponse GetDocumentFormats(String userId, String fileId) throws ApiException
ApiExceptionpublic FileStream GetDocumentPageImage(String userId, String fileId, Integer pageNumber, String dimension, Integer quality, Boolean usePdf, Boolean expiresOn) throws ApiException
ApiExceptionpublic GetImageUrlsResponse GetDocumentPagesImageUrls(String userId, String fileId, Integer firstPage, Integer pageCount, String dimension, Integer quality, Boolean usePdf, String token) throws ApiException
ApiExceptionpublic GetEditLockResponse GetEditLock(String userId, String fileId) throws ApiException
ApiExceptionpublic RemoveEditLockResponse RemoveEditLock(String userId, String fileId, String lockId) throws ApiException
ApiExceptionpublic GetTagsResponse GetDocumentTags(String userId, String fileId) throws ApiException
ApiExceptionpublic SetTagsResponse SetDocumentTags(String userId, String fileId) throws ApiException
ApiExceptionpublic RemoveTagsResponse RemoveDocumentTags(String userId, String fileId) throws ApiException
ApiExceptionpublic GetDocumentContentResponse GetDocumentContent(String userId, String fileId, String contentType) throws ApiException
ApiExceptionpublic GetHyperlinksResponse GetDocumentHyperlinks(String userId, String fileId) throws ApiException
ApiExceptionCopyright © 2015 GroupDocs. All Rights Reserved.