Uses of Interface
com.veeva.vault.sdk.api.document.DocumentVersion
Packages that use DocumentVersion
Package
Description
This package provides interfaces to create custom actions.
This package provides interfaces to manage documents and binders.
This package provides interfaces to retrieve and manage role membership for a document or object record.
-
Uses of DocumentVersion in com.veeva.vault.sdk.api.action
Methods in com.veeva.vault.sdk.api.action that return types with arguments of type DocumentVersionModifier and TypeMethodDescriptionDocumentActionContext.getDocumentVersions()
Retrieves the document versions this action is executing against. -
Uses of DocumentVersion in com.veeva.vault.sdk.api.document
Methods in com.veeva.vault.sdk.api.document that return DocumentVersionModifier and TypeMethodDescriptionDocumentVersion.fromTemplate
(String templateName) Creates a document from the given template.DocumentService.newDocument()
Instantiates a new, emptyDocumentVersion
.DocumentService.newDocumentVersion
(String documentVersionId) Deprecated.DocumentService.newDocumentWithId
(String docId) Instantiates aDocumentVersion
with the givenid
and sets the version to the latest version of the document.DocumentService.newVersion
(String docId) Instantiates aDocumentVersion
and sets the document ID.DocumentService.newVersionWithId
(String documentVersionId) Instantiates aDocumentVersion
and sets the ID, major version, and minor version.DocumentVersion.setSourceFile
(FileReference fileReference) Sets the source file for the new document version when creating a new document or a new version of an existing document.DocumentVersion.suppressRendition()
Disables generation of a viewable rendition from the source file for the new document or document version.Method parameters in com.veeva.vault.sdk.api.document with type arguments of type DocumentVersionModifier and TypeMethodDescriptionDocumentService.createDocuments
(List<DocumentVersion> documentVersions) Creates new documents.DocumentService.deleteDocumentVersions
(List<DocumentVersion> documentVersions) Delete the specified List ofDocumentVersion
s.DocumentService.migrateDocumentVersions
(List<DocumentVersion> documentVersions) Creates new document-versions for existing documents.DocumentService.saveDocumentVersions
(List<DocumentVersion> documentVersions) Save the specifiedDocumentVersion
s. -
Uses of DocumentVersion in com.veeva.vault.sdk.api.role
Methods in com.veeva.vault.sdk.api.role that return DocumentVersionModifier and TypeMethodDescriptionDocumentRole.getDocumentVersion()
Retrieves the document for which this document role applies to.Methods in com.veeva.vault.sdk.api.role that return types with arguments of type DocumentVersionModifier and TypeMethodDescriptionGetMissingAssignmentsDocumentResponse.getDocumentVersions()
Retrieves the documents which are missing one or more users provided to the original service call.Methods in com.veeva.vault.sdk.api.role with parameters of type DocumentVersionModifier and TypeMethodDescriptionGetDocumentRolesResponse.getDocumentRole
(DocumentVersion documentVersion) Retrieves aDocumentRole
for a given document.DocumentRoleService.newDocumentRoleUpdate
(String roleName, DocumentVersion documentVersion) Creates aDocumentRoleUpdate
which can be submitted toDocumentRoleService.batchUpdateDocumentRoles(List)
to update document roles on a particular document.Method parameters in com.veeva.vault.sdk.api.role with type arguments of type DocumentVersionModifier and TypeMethodDescriptionDocumentRoleService.batchAssignMissingUsers
(List<DocumentVersion> documentVersions, String roleName, List<String> userIds) Creates an operation which can be used to update document roles such that all of the given user IDs are on the given document lifecycle role on all of the given documents.DocumentRoleService.getDocumentRoles
(List<DocumentVersion> documentVersions, String roleName) Retrieves aGetDocumentRolesResponse
object, which can be used to retrieve any manually assignedDocumentRole
s for a given document.DocumentRoleService.getMissingAssignments
(List<DocumentVersion> documentVersions, String roleName, List<String> userIds) Retrieves aGetMissingAssignmentsDocumentResponse
which can be used to check for an incompleteness of document roles.
DocumentService.newVersionWithId(String)