public interface RoleProvider
| Modifier and Type | Method and Description |
|---|---|
Iterator<Role> |
findRoles(String query,
Role.Target target,
int offset,
int limit)
Return the found roles as an iterator.
|
String |
getOrganization()
Returns the identifier for the organization that is defining this set of roles.
|
List<Role> |
getRolesForUser(String userName)
Returns the roles for this user or an empty array if no roles are applicable.
|
List<Role> getRolesForUser(String userName)
userName - the user idString getOrganization()
Iterator<Role> findRoles(String query, Role.Target target, int offset, int limit)
query - the query. Use the wildcards "_" to match any single character and "%" to match an arbitrary number of
characters (including zero characters).offset - the offsetlimit - the limit. 0 means no limitIllegalArgumentException - if the query is nullCopyright © 2009–2021 Opencast Project. All rights reserved.