1 43 package net.jforum.dao.security; 44 45 import net.jforum.security.Role; 46 import net.jforum.security.RoleCollection; 47 import net.jforum.security.RoleValueCollection; 48 49 58 public interface SecurityDAO 59 { 60 68 public void deleteAllRoles(int id) throws Exception ; 69 70 79 public void deleteRole(int id, String roleName) throws Exception ; 80 81 89 public void addRole(int id, Role role) throws Exception ; 90 91 public void addRoleValue(int id, Role role, RoleValueCollection rvc) throws Exception ; 92 93 99 public void addRole(int id, Role role, RoleValueCollection roleValues) throws Exception ; 100 101 106 public RoleCollection loadRoles(int id) throws Exception ; 107 } 108 | Popular Tags |