1 package org.kuali.mobility.security.group.api; 2 3 import java.util.List; 4 import java.util.Map; 5 6 /** 7 * Created with IntelliJ IDEA. 8 * User: swansje 9 * Date: 9/20/13 10 * Time: 2:23 PM 11 * To change this template use File | Settings | File Templates. 12 */ 13 public interface GroupDao { 14 // This method can be used to refresh the cached group data. 15 List<Group> getGroups(); 16 17 Group getGroup(Long id); 18 19 Group getGroup(String name); 20 21 Long saveGroup(Group group); 22 23 Map<String, Group> getGroupMap(); 24 25 void setGroupMap(Map<String, Group> groupMap); 26 }