Modifier and Type | Method and Description |
---|---|
RoleRecord |
PersonRecord.getRole(int index)
Gets a reference to the specified role held within the object.
|
RoleRecord |
LdapService.getRole(String id)
Gets a
RoleRecord from the LDAP. |
Modifier and Type | Method and Description |
---|---|
List<RoleRecord> |
PersonRecord.getRoles()
Gets an immutable view of the list of roles, which may be empty but
will never be
null . |
static Map<RoleRecord,PersonRecord> |
LdapUtils.searchRoleRecords(LdapService ldapSvc,
String filter)
Searches for roles using the supplied filter and returns a RoleRecord object,
along with the fully-fledged PersonRecord object containing it, for each one
found.
|
Modifier and Type | Method and Description |
---|---|
int |
RoleRecord.compareTo(RoleRecord o) |
void |
PersonRecord.setRole(int index,
RoleRecord role)
Sets the specified role held within the object.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonRecord.setRoles(List<RoleRecord> roles)
Sets the list of role.
|
Copyright © 2018. All rights reserved.