public interface ComposeLogic
| Modifier and Type | Method and Description |
|---|---|
int |
countUsersByGroup(String groupId)
Get the number of users in a group.
|
int |
countUsersByRole(String role)
Gets the numbers of users in a role.
|
List<EmailRole> |
getEmailGroups()
Get a list of groups available for this tool
|
List<EmailRole> |
getEmailRoles()
Read the tool config and build the email roles that are specified
|
List<EmailRole> |
getEmailSections()
Get the sections as by the section info tool
|
String |
getGroupAwareRole()
Get group-aware role which is set in sakai.properties e.g.
|
String |
getGroupAwareRoleDefault()
// OOTB(Out of the box) Sakai defaults
|
List<User> |
getUsers() |
List<User> |
getUsersByGroup(String groupId)
Retrieve members for the current site that are of a certain group/section
|
List<User> |
getUsersByRole(String role)
Retrieve members for the current site that are of a certain role.
|
List<EmailRole> getEmailRoles() throws GroupNotDefinedException
GroupNotDefinedExceptionList<EmailRole> getEmailGroups() throws IdUnusedException
IdUnusedExceptionList<EmailRole> getEmailSections() throws IdUnusedException
IdUnusedExceptionString getGroupAwareRole()
String getGroupAwareRoleDefault()
List<User> getUsersByRole(String role) throws IdUnusedException
role - Users that are sorted by last name, first name.IdUnusedExceptionint countUsersByRole(String role)
role - List<User> getUsersByGroup(String groupId) throws IdUnusedException
groupId - IdUnusedExceptionint countUsersByGroup(String groupId)
groupId - List<User> getUsers() throws IdUnusedException
IdUnusedExceptionCopyright © 2007–2018 Sakai Project. All rights reserved.