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<org.sakaiproject.user.api.User> |
getUsers() |
List<org.sakaiproject.user.api.User> |
getUsersByGroup(String groupId)
Retrieve members for the current site that are of a certain group/section
|
List<org.sakaiproject.user.api.User> |
getUsersByRole(String role)
Retrieve members for the current site that are of a certain role.
|
List<EmailRole> getEmailRoles() throws org.sakaiproject.authz.api.GroupNotDefinedException
org.sakaiproject.authz.api.GroupNotDefinedExceptionList<EmailRole> getEmailGroups() throws org.sakaiproject.exception.IdUnusedException
org.sakaiproject.exception.IdUnusedExceptionList<EmailRole> getEmailSections() throws org.sakaiproject.exception.IdUnusedException
org.sakaiproject.exception.IdUnusedExceptionString getGroupAwareRole()
String getGroupAwareRoleDefault()
List<org.sakaiproject.user.api.User> getUsersByRole(String role) throws org.sakaiproject.exception.IdUnusedException
role - Users that are sorted by last name, first name.org.sakaiproject.exception.IdUnusedExceptionint countUsersByRole(String role)
role - List<org.sakaiproject.user.api.User> getUsersByGroup(String groupId) throws org.sakaiproject.exception.IdUnusedException
groupId - org.sakaiproject.exception.IdUnusedExceptionint countUsersByGroup(String groupId)
groupId - List<org.sakaiproject.user.api.User> getUsers() throws org.sakaiproject.exception.IdUnusedException
org.sakaiproject.exception.IdUnusedExceptionCopyright © 2007-2014 Sakai Project. All Rights Reserved.