public class DocumentApi extends Object
Constructor and Description |
---|
DocumentApi() |
DocumentApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
DocumentRevisionDTO |
addDocTag(String workspaceId,
String documentId,
String documentVersion,
TagListDTO body)
Add tags to document revision
|
com.squareup.okhttp.Call |
addDocTagAsync(String workspaceId,
String documentId,
String documentVersion,
TagListDTO body,
ApiCallback<DocumentRevisionDTO> callback)
Add tags to document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
addDocTagWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
TagListDTO body)
Add tags to document revision
|
DocumentRevisionDTO |
checkInDocument(String workspaceId,
String documentId,
String documentVersion)
Checkin document revision
|
com.squareup.okhttp.Call |
checkInDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<DocumentRevisionDTO> callback)
Checkin document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
checkInDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Checkin document revision
|
DocumentRevisionDTO |
checkOutDocument(String workspaceId,
String documentId,
String documentVersion)
Checkout document revision
|
com.squareup.okhttp.Call |
checkOutDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<DocumentRevisionDTO> callback)
Checkout document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
checkOutDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Checkout document revision
|
List<DocumentRevisionDTO> |
createNewDocumentVersion(String workspaceId,
String documentId,
String documentVersion,
DocumentCreationDTO body)
Create a new version of the document revision
|
com.squareup.okhttp.Call |
createNewDocumentVersionAsync(String workspaceId,
String documentId,
String documentVersion,
DocumentCreationDTO body,
ApiCallback<List<DocumentRevisionDTO>> callback)
Create a new version of the document revision (asynchronously)
|
ApiResponse<List<DocumentRevisionDTO>> |
createNewDocumentVersionWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
DocumentCreationDTO body)
Create a new version of the document revision
|
SharedDocumentDTO |
createSharedDocument(String workspaceId,
String documentId,
String documentVersion,
SharedDocumentDTO body)
Create a shared document for given document revision
|
com.squareup.okhttp.Call |
createSharedDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
SharedDocumentDTO body,
ApiCallback<SharedDocumentDTO> callback)
Create a shared document for given document revision (asynchronously)
|
ApiResponse<SharedDocumentDTO> |
createSharedDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
SharedDocumentDTO body)
Create a shared document for given document revision
|
void |
deleteDocument(String workspaceId,
String documentId,
String documentVersion)
Delete the document revision
|
com.squareup.okhttp.Call |
deleteDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<Void> callback)
Delete the document revision (asynchronously)
|
ApiResponse<Void> |
deleteDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Delete the document revision
|
List<WorkflowDTO> |
getAbortedWorkflowListInDocument(String workspaceId,
String documentId,
String documentVersion)
Get document revision aborted workflow history
|
com.squareup.okhttp.Call |
getAbortedWorkflowListInDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<List<WorkflowDTO>> callback)
Get document revision aborted workflow history (asynchronously)
|
ApiResponse<List<WorkflowDTO>> |
getAbortedWorkflowListInDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Get document revision aborted workflow history
|
ApiClient |
getApiClient() |
DocumentRevisionDTO |
getDocumentRevision(String workspaceId,
String documentId,
String documentVersion)
Get document revision
|
com.squareup.okhttp.Call |
getDocumentRevisionAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<DocumentRevisionDTO> callback)
Get document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
getDocumentRevisionWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Get document revision
|
List<DocumentRevisionDTO> |
getInverseDocumentLinks(String workspaceId,
String documentId,
String documentVersion,
Integer iteration)
Get inverse document revisions links
|
com.squareup.okhttp.Call |
getInverseDocumentLinksAsync(String workspaceId,
String documentId,
String documentVersion,
Integer iteration,
ApiCallback<List<DocumentRevisionDTO>> callback)
Get inverse document revisions links (asynchronously)
|
ApiResponse<List<DocumentRevisionDTO>> |
getInverseDocumentLinksWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
Integer iteration)
Get inverse document revisions links
|
List<PartRevisionDTO> |
getInversePartsLinks(String workspaceId,
String documentId,
String documentVersion,
Integer iteration)
Get inverse part revisions links
|
com.squareup.okhttp.Call |
getInversePartsLinksAsync(String workspaceId,
String documentId,
String documentVersion,
Integer iteration,
ApiCallback<List<PartRevisionDTO>> callback)
Get inverse part revisions links (asynchronously)
|
ApiResponse<List<PartRevisionDTO>> |
getInversePartsLinksWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
Integer iteration)
Get inverse part revisions links
|
List<PathDataMasterDTO> |
getInversePathDataLinks(String workspaceId,
String documentId,
String documentVersion,
Integer iteration)
Get inverse path data links
|
com.squareup.okhttp.Call |
getInversePathDataLinksAsync(String workspaceId,
String documentId,
String documentVersion,
Integer iteration,
ApiCallback<List<PathDataMasterDTO>> callback)
Get inverse path data links (asynchronously)
|
ApiResponse<List<PathDataMasterDTO>> |
getInversePathDataLinksWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
Integer iteration)
Get inverse path data links
|
List<ProductInstanceMasterDTO> |
getInverseProductInstancesLinks(String workspaceId,
String documentId,
String documentVersion,
Integer iteration)
Get inverse product instances links
|
com.squareup.okhttp.Call |
getInverseProductInstancesLinksAsync(String workspaceId,
String documentId,
String documentVersion,
Integer iteration,
ApiCallback<List<ProductInstanceMasterDTO>> callback)
Get inverse product instances links (asynchronously)
|
ApiResponse<List<ProductInstanceMasterDTO>> |
getInverseProductInstancesLinksWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
Integer iteration)
Get inverse product instances links
|
DocumentRevisionDTO |
markDocumentRevisionAsObsolete(String workspaceId,
String documentId,
String documentVersion)
Set document revision as obsolete
|
com.squareup.okhttp.Call |
markDocumentRevisionAsObsoleteAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<DocumentRevisionDTO> callback)
Set document revision as obsolete (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
markDocumentRevisionAsObsoleteWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Set document revision as obsolete
|
DocumentRevisionDTO |
moveDocument(String workspaceId,
String documentId,
String documentVersion,
DocumentCreationDTO body)
Move document revision to given folder
|
com.squareup.okhttp.Call |
moveDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
DocumentCreationDTO body,
ApiCallback<DocumentRevisionDTO> callback)
Move document revision to given folder (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
moveDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
DocumentCreationDTO body)
Move document revision to given folder
|
void |
publishDocumentRevision(String workspaceId,
String documentId,
String documentVersion)
Publish a document revision
|
com.squareup.okhttp.Call |
publishDocumentRevisionAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<Void> callback)
Publish a document revision (asynchronously)
|
ApiResponse<Void> |
publishDocumentRevisionWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Publish a document revision
|
DocumentRevisionDTO |
releaseDocumentRevision(String workspaceId,
String documentId,
String documentVersion)
Release document revision
|
com.squareup.okhttp.Call |
releaseDocumentRevisionAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<DocumentRevisionDTO> callback)
Release document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
releaseDocumentRevisionWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Release document revision
|
void |
removeAttachedFileFromDocument(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
String fileName)
Remove attached file from document iteration
|
com.squareup.okhttp.Call |
removeAttachedFileFromDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
String fileName,
ApiCallback<Void> callback)
Remove attached file from document iteration (asynchronously)
|
ApiResponse<Void> |
removeAttachedFileFromDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
String fileName)
Remove attached file from document iteration
|
DocumentRevisionDTO |
removeDocTags(String workspaceId,
String documentId,
String documentVersion,
String tagName)
Remove tags from document revision
|
com.squareup.okhttp.Call |
removeDocTagsAsync(String workspaceId,
String documentId,
String documentVersion,
String tagName,
ApiCallback<DocumentRevisionDTO> callback)
Remove tags from document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
removeDocTagsWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
String tagName)
Remove tags from document revision
|
FileDTO |
renameAttachedFileInDocument(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
String fileName,
FileDTO body)
Rename attached files of document iteration
|
com.squareup.okhttp.Call |
renameAttachedFileInDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
String fileName,
FileDTO body,
ApiCallback<FileDTO> callback)
Rename attached files of document iteration (asynchronously)
|
ApiResponse<FileDTO> |
renameAttachedFileInDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
String fileName,
FileDTO body)
Rename attached files of document iteration
|
DocumentRevisionDTO |
saveDocTags(String workspaceId,
String documentId,
String documentVersion,
TagListDTO body)
Set the tags of the document revision
|
com.squareup.okhttp.Call |
saveDocTagsAsync(String workspaceId,
String documentId,
String documentVersion,
TagListDTO body,
ApiCallback<DocumentRevisionDTO> callback)
Set the tags of the document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
saveDocTagsWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
TagListDTO body)
Set the tags of the document revision
|
void |
setApiClient(ApiClient apiClient) |
void |
subscribeToIterationChangeEvent(String workspaceId,
String documentId,
String documentVersion)
Subscribe to notifications on change events for given document revision
|
com.squareup.okhttp.Call |
subscribeToIterationChangeEventAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<Void> callback)
Subscribe to notifications on change events for given document revision (asynchronously)
|
ApiResponse<Void> |
subscribeToIterationChangeEventWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Subscribe to notifications on change events for given document revision
|
void |
subscribeToStateChangeEvent(String workspaceId,
String documentId,
String documentVersion)
Subscribe to notifications on state events for given document revision
|
com.squareup.okhttp.Call |
subscribeToStateChangeEventAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<Void> callback)
Subscribe to notifications on state events for given document revision (asynchronously)
|
ApiResponse<Void> |
subscribeToStateChangeEventWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Subscribe to notifications on state events for given document revision
|
DocumentRevisionDTO |
undoCheckOutDocument(String workspaceId,
String documentId,
String documentVersion)
Undo checkout document revision
|
com.squareup.okhttp.Call |
undoCheckOutDocumentAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<DocumentRevisionDTO> callback)
Undo checkout document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
undoCheckOutDocumentWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Undo checkout document revision
|
void |
unPublishDocumentRevision(String workspaceId,
String documentId,
String documentVersion)
Un-publish a document revision
|
com.squareup.okhttp.Call |
unPublishDocumentRevisionAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<Void> callback)
Un-publish a document revision (asynchronously)
|
ApiResponse<Void> |
unPublishDocumentRevisionWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Un-publish a document revision
|
void |
unSubscribeToIterationChangeEvent(String workspaceId,
String documentId,
String documentVersion)
Unsubscribe from notifications on change events for given document revision
|
com.squareup.okhttp.Call |
unSubscribeToIterationChangeEventAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<Void> callback)
Unsubscribe from notifications on change events for given document revision (asynchronously)
|
ApiResponse<Void> |
unSubscribeToIterationChangeEventWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Unsubscribe from notifications on change events for given document revision
|
void |
unsubscribeToStateChangeEvent(String workspaceId,
String documentId,
String documentVersion)
Unsubscribe to notifications on state events for given document revision
|
com.squareup.okhttp.Call |
unsubscribeToStateChangeEventAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<Void> callback)
Unsubscribe to notifications on state events for given document revision (asynchronously)
|
ApiResponse<Void> |
unsubscribeToStateChangeEventWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Unsubscribe to notifications on state events for given document revision
|
DocumentIterationDTO |
updateDocumentIteration(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
DocumentIterationDTO body)
Update document iteration
|
com.squareup.okhttp.Call |
updateDocumentIterationAsync(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
DocumentIterationDTO body,
ApiCallback<DocumentIterationDTO> callback)
Update document iteration (asynchronously)
|
ApiResponse<DocumentIterationDTO> |
updateDocumentIterationWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
Integer docIteration,
DocumentIterationDTO body)
Update document iteration
|
void |
updateDocumentRevisionACL(String workspaceId,
String documentId,
String documentVersion,
ACLDTO body)
Update document revision ACL
|
com.squareup.okhttp.Call |
updateDocumentRevisionACLAsync(String workspaceId,
String documentId,
String documentVersion,
ACLDTO body,
ApiCallback<Void> callback)
Update document revision ACL (asynchronously)
|
ApiResponse<Void> |
updateDocumentRevisionACLWithHttpInfo(String workspaceId,
String documentId,
String documentVersion,
ACLDTO body)
Update document revision ACL
|
public DocumentApi()
public DocumentApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public DocumentRevisionDTO getDocumentRevision(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> getDocumentRevisionWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDocumentRevisionAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 deleteDocument(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteDocumentAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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<WorkflowDTO> getAbortedWorkflowListInDocument(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<WorkflowDTO>> getAbortedWorkflowListInDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAbortedWorkflowListInDocumentAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<List<WorkflowDTO>> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 updateDocumentRevisionACL(String workspaceId, String documentId, String documentVersion, ACLDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateDocumentRevisionACLWithHttpInfo(String workspaceId, String documentId, String documentVersion, ACLDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateDocumentRevisionACLAsync(String workspaceId, String documentId, String documentVersion, ACLDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- ACL rules to setcallback
- 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 checkInDocument(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> checkInDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call checkInDocumentAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 checkOutDocument(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> checkOutDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call checkOutDocumentAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic DocumentIterationDTO updateDocumentIteration(String workspaceId, String documentId, String documentVersion, Integer docIteration, DocumentIterationDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationbody
- Document iteration to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentIterationDTO> updateDocumentIterationWithHttpInfo(String workspaceId, String documentId, String documentVersion, Integer docIteration, DocumentIterationDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationbody
- Document iteration to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateDocumentIterationAsync(String workspaceId, String documentId, String documentVersion, Integer docIteration, DocumentIterationDTO body, ApiCallback<DocumentIterationDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationbody
- Document iteration to updatecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic FileDTO renameAttachedFileInDocument(String workspaceId, String documentId, String documentVersion, Integer docIteration, String fileName, FileDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationfileName
- File namebody
- File to renameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FileDTO> renameAttachedFileInDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion, Integer docIteration, String fileName, FileDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationfileName
- File namebody
- File to renameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call renameAttachedFileInDocumentAsync(String workspaceId, String documentId, String documentVersion, Integer docIteration, String fileName, FileDTO body, ApiCallback<FileDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationfileName
- File namebody
- File to renamecallback
- 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 removeAttachedFileFromDocument(String workspaceId, String documentId, String documentVersion, Integer docIteration, String fileName) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationfileName
- File nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> removeAttachedFileFromDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion, Integer docIteration, String fileName) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationfileName
- File nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeAttachedFileFromDocumentAsync(String workspaceId, String documentId, String documentVersion, Integer docIteration, String fileName, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiondocIteration
- Document iterationfileName
- File 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 DocumentRevisionDTO moveDocument(String workspaceId, String documentId, String documentVersion, DocumentCreationDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Document revision to moveApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> moveDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion, DocumentCreationDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Document revision to moveApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call moveDocumentAsync(String workspaceId, String documentId, String documentVersion, DocumentCreationDTO body, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Document revision 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 List<DocumentRevisionDTO> createNewDocumentVersion(String workspaceId, String documentId, String documentVersion, DocumentCreationDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- New version of document to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<DocumentRevisionDTO>> createNewDocumentVersionWithHttpInfo(String workspaceId, String documentId, String documentVersion, DocumentCreationDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- New version of document to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createNewDocumentVersionAsync(String workspaceId, String documentId, String documentVersion, DocumentCreationDTO body, ApiCallback<List<DocumentRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- New version of document 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 void subscribeToIterationChangeEvent(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> subscribeToIterationChangeEventWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subscribeToIterationChangeEventAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 unSubscribeToIterationChangeEvent(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> unSubscribeToIterationChangeEventWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call unSubscribeToIterationChangeEventAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 subscribeToStateChangeEvent(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> subscribeToStateChangeEventWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subscribeToStateChangeEventAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 unsubscribeToStateChangeEvent(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> unsubscribeToStateChangeEventWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call unsubscribeToStateChangeEventAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 markDocumentRevisionAsObsolete(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> markDocumentRevisionAsObsoleteWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call markDocumentRevisionAsObsoleteAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 publishDocumentRevision(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> publishDocumentRevisionWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call publishDocumentRevisionAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 releaseDocumentRevision(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> releaseDocumentRevisionWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call releaseDocumentRevisionAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic SharedDocumentDTO createSharedDocument(String workspaceId, String documentId, String documentVersion, SharedDocumentDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Shared document to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SharedDocumentDTO> createSharedDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion, SharedDocumentDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Shared document to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createSharedDocumentAsync(String workspaceId, String documentId, String documentVersion, SharedDocumentDTO body, ApiCallback<SharedDocumentDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Shared document 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 DocumentRevisionDTO saveDocTags(String workspaceId, String documentId, String documentVersion, TagListDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Tag list to saveApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> saveDocTagsWithHttpInfo(String workspaceId, String documentId, String documentVersion, TagListDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Tag list to saveApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveDocTagsAsync(String workspaceId, String documentId, String documentVersion, TagListDTO body, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Tag list to savecallback
- 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 addDocTag(String workspaceId, String documentId, String documentVersion, TagListDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> addDocTagWithHttpInfo(String workspaceId, String documentId, String documentVersion, TagListDTO body) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addDocTagAsync(String workspaceId, String documentId, String documentVersion, TagListDTO body, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionbody
- Tag list to addcallback
- 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 removeDocTags(String workspaceId, String documentId, String documentVersion, String tagName) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiontagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> removeDocTagsWithHttpInfo(String workspaceId, String documentId, String documentVersion, String tagName) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiontagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeDocTagsAsync(String workspaceId, String documentId, String documentVersion, String tagName, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versiontagName
- Tag 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 DocumentRevisionDTO undoCheckOutDocument(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> undoCheckOutDocumentWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call undoCheckOutDocumentAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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 unPublishDocumentRevision(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> unPublishDocumentRevisionWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call unPublishDocumentRevisionAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- 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> getInverseDocumentLinks(String workspaceId, String documentId, String documentVersion, Integer iteration) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<DocumentRevisionDTO>> getInverseDocumentLinksWithHttpInfo(String workspaceId, String documentId, String documentVersion, Integer iteration) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getInverseDocumentLinksAsync(String workspaceId, String documentId, String documentVersion, Integer iteration, ApiCallback<List<DocumentRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationcallback
- 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<PartRevisionDTO> getInversePartsLinks(String workspaceId, String documentId, String documentVersion, Integer iteration) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<PartRevisionDTO>> getInversePartsLinksWithHttpInfo(String workspaceId, String documentId, String documentVersion, Integer iteration) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getInversePartsLinksAsync(String workspaceId, String documentId, String documentVersion, Integer iteration, ApiCallback<List<PartRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationcallback
- 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<PathDataMasterDTO> getInversePathDataLinks(String workspaceId, String documentId, String documentVersion, Integer iteration) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<PathDataMasterDTO>> getInversePathDataLinksWithHttpInfo(String workspaceId, String documentId, String documentVersion, Integer iteration) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getInversePathDataLinksAsync(String workspaceId, String documentId, String documentVersion, Integer iteration, ApiCallback<List<PathDataMasterDTO>> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationcallback
- 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<ProductInstanceMasterDTO> getInverseProductInstancesLinks(String workspaceId, String documentId, String documentVersion, Integer iteration) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ProductInstanceMasterDTO>> getInverseProductInstancesLinksWithHttpInfo(String workspaceId, String documentId, String documentVersion, Integer iteration) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getInverseProductInstancesLinksAsync(String workspaceId, String documentId, String documentVersion, Integer iteration, ApiCallback<List<ProductInstanceMasterDTO>> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioniteration
- Document iterationcallback
- 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.