public class PersonRoleUtils extends Object
Constructor and Description |
---|
PersonRoleUtils() |
Modifier and Type | Method and Description |
---|---|
void |
addPersonToRole(ExecutionContext context,
PersonManagementServiceLocal personManagementService,
RecordHolder personRecord,
RecordHolder roleRecord)
Assign role to person.
|
void |
removePersonFromRole(ExecutionContext context,
PersonManagementServiceLocal personManagementService,
RecordHolder personRecord,
RecordHolder roleRecord)
Remove person from role.
|
public void addPersonToRole(ExecutionContext context, PersonManagementServiceLocal personManagementService, RecordHolder personRecord, RecordHolder roleRecord) throws ErrorException
context
- personManagementService
- personRecord
- roleRecord
- ErrorException
public void removePersonFromRole(ExecutionContext context, PersonManagementServiceLocal personManagementService, RecordHolder personRecord, RecordHolder roleRecord) throws ErrorException
context
- personManagementService
- personRecord
- roleRecord
- ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.