Package com.veeva.vault.sdk.api.document
Interface PositionalDocumentVersionId
- All Superinterfaces:
PositionalResult
- All Known Subinterfaces:
RecordAttachmentPositionResult
Represents a successful result of processing a document in a batch operation, such as a save or delete.
Exposes the index of a
DocumentVersion in a batch input and the DocumentVersion instance's id.-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theDocumentVersionid.<T> TgetUniqueFieldValue(ValueType<T> returnType) Retrieves the document version's unique field value if the operation's request specified a unique field to identify on.booleanIndicates the warning status of the given document version.Methods inherited from interface com.veeva.vault.sdk.api.core.PositionalResult
getInputPosition
-
Method Details
-
getDocumentVersionId
String getDocumentVersionId()Retrieves theDocumentVersionid.- Returns:
idofDocumentVersion
-
hasWarnings
boolean hasWarnings()Indicates the warning status of the given document version. You can refer to the SDK log to see which warnings were encountered for the operation.- Returns:
- true if the document version has warnings
-
getUniqueFieldValue
Retrieves the document version's unique field value if the operation's request specified a unique field to identify on.- Returns:
- the document version's unique field value if operation request specified, otherwise null
-