public interface GetRecordRolesResponse
RecordRole
s, returned from RecordRoleService.getRecordRoles(List, String)
.Modifier and Type | Method and Description |
---|---|
RecordRole |
getRecordRole(Record record)
Retrieves a
RecordRole for a given record. |
RecordRole |
getRecordRole(Record record,
String roleName)
Retrieves RecordRole for a given record and role.
|
RecordRole getRecordRole(Record record, String roleName)
RecordRole
to retrieve the users and groups
associated with it.
If this method is called on a response which was retrieved using RecordRoleService.getRecordRoles(List, String)
(includes a roleName), then a null value will be returned for any roleName which does not match the one provided
in the service call.
record
- input record. Cannot be null.roleName
- input role name. Cannot be null. Throws VeevaRunTimeException if given an invalid roleName.RecordRoleService.getRecordRoles(List)
.RecordRole getRecordRole(Record record)
RecordRole
for a given record.
The resulting RecordRole
will be applied to the role included in the original
call to RecordRoleService.getRecordRoles(List, String)
.
If this method is called on a response which was retrieved using RecordRoleService.getRecordRoles(List)
(without a roleName), then an error will be thrown indicating that a roleName is required.
record
- a record for which you are retrieving record role information. Cannot be null.RecordRoleService.getRecordRoles(List, String)
.Copyright © Veeva Systems 2017–2021. All rights reserved.