public interface RecordRoleChange
Modifier and Type | Method and Description |
---|---|
List<Group> |
getGroupsAdded()
Retrieves the list of groups added to the role.
|
List<Group> |
getGroupsRemoved()
Retrieves the list of groups removed from the role.
|
RecordRole |
getRecordRole()
Retrieves the
RecordRole where a change applied. |
Role |
getRole()
Retrieves the
Role in the record role change. |
List<String> |
getUsersAdded()
Retrieves the list of users added to the role.
|
List<String> |
getUsersRemoved()
Retrieves the list of users removed from the role
|
void |
setError(String errorSubtype,
String errorMessage)
Sets an error on this
RecordRole change. |
RecordRole getRecordRole()
RecordRole
where a change applied.RecordRole
objectList<String> getUsersAdded()
List<String> getUsersRemoved()
List<Group> getGroupsAdded()
List<Group> getGroupsRemoved()
void setError(String errorSubtype, String errorMessage)
RecordRole
change.
RuntimeException
.RollbackException
.errorSubtype
- error code returned to users. We recommend using SCREAMING_SNAKE_CASE, for example,
MISSING_PARAMETER. May be empty, but cannot be null.errorMessage
- error message returned to users, for example,
"Missing value for field {field_name}
".
May be empty, but cannot be null.Copyright © Veeva Systems 2017–2020. All rights reserved.