Package | Description |
---|---|
com.veeva.vault.sdk.api.core |
This package provides interfaces for common functions and utilities, such as the Debug Log and
request context.
|
com.veeva.vault.sdk.api.data |
This package provides interfaces to manage object records.
|
com.veeva.vault.sdk.api.role |
This package provides interfaces to retrieve and manage role membership for a document or object record.
|
Modifier and Type | Method and Description |
---|---|
BatchOperation<S,E> |
BatchOperation.ignoreErrors()
Indicates errors are ignored during execution.
|
BatchOperation<S,E> |
BatchOperation.onErrors(Consumer<List<E>> errorsHandler)
A function called during execution if there is at least one error in the batch.
|
BatchOperation<S,E> |
BatchOperation.onSuccesses(Consumer<List<S>> successesHandler)
A function called during execution if there is at least one success in the batch.
|
BatchOperation<S,E> |
BatchOperation.rollbackOnErrors()
A convenience method to throw a runtime exception
if at least one error occurs during execution.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RecordBatchOperation
Batch Operation to perform on records.
|
Modifier and Type | Method and Description |
---|---|
BatchOperation<PositionalRecordId,BatchOperationError> |
RecordService.batchDeleteRecords(List<Record> records)
Creates an operation which can be used to delete the specified List of Records.
|
BatchOperation<PositionalRecordId,BatchOperationError> |
RecordService.batchSaveRecords(List<Record> records)
Creates an operation to save the specified List of records.
|
Modifier and Type | Method and Description |
---|---|
BatchOperation<Void,BatchOperationError> |
DocumentRoleService.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.
|
BatchOperation<Void,BatchOperationError> |
RecordRoleService.batchAssignMissingUsers(List<Record> records,
String roleName,
List<String> userIds)
Creates an operation which can be used to update record roles such that all of the given user IDs are on the
given record role on all of the given records.
|
BatchOperation<Void,BatchOperationError> |
DocumentRoleService.batchUpdateDocumentRoles(List<DocumentRoleUpdate> documentRoleUpdates)
Creates an operation which can be used to update document roles.
|
BatchOperation<Void,BatchOperationError> |
RecordRoleService.batchUpdateRecordRoles(List<RecordRoleUpdate> recordRoleUpdates)
Adds or removes users and groups from this RecordRole.
|
Copyright © Veeva Systems 2017–2019. All rights reserved.