| java.lang.Object net.jforum.repository.RolesRepository
RolesRepository | public class RolesRepository implements Cacheable(Code) | | author: Rafael Steil version: $Id: RolesRepository.java,v 1.7 2007/08/01 22:30:05 rafaelsteil Exp $ |
addGroupRoles | public static void addGroupRoles(int[] groupIds, RoleCollection roles)(Code) | | Adds merged roles to the cache.
Parameters: groupIds - The ids of the groups Parameters: roles - The merges roles to add |
clear | public static void clear()(Code) | | Clears the cache
|
getGroupRoles | public static RoleCollection getGroupRoles(int groupId)(Code) | | Gets the group roles.
Parameters: groupId - The group id The roles, if found, or null otherwise. |
getGroupRoles | public static RoleCollection getGroupRoles(int[] ids)(Code) | | Get merged roles from a set of groups
Parameters: ids - The group ids The roles, if found, or null otherwise. |
|
|