public class RoleManagerImpl extends UniversalManagerImpl implements RoleManager
log
Constructor and Description |
---|
RoleManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Role |
getRole(String rolename) |
List<Role> |
getRoles(Role role) |
void |
removeRole(String rolename) |
Role |
saveRole(Role role) |
void |
setRoleDao(RoleDao dao) |
get, getAll, remove, save, setDao
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getAll, remove, save
public void setRoleDao(RoleDao dao)
public List<Role> getRoles(Role role)
getRoles
in interface RoleManager
role
- The rolespublic Role getRole(String rolename)
getRole
in interface RoleManager
rolename
- The rolenamepublic Role saveRole(Role role)
saveRole
in interface RoleManager
role
- The rolepublic void removeRole(String rolename)
removeRole
in interface RoleManager
rolename
- The name of the roleCopyright © 2015. All rights reserved.