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