com.gisgraphy.service.impl
Class RoleManagerImpl
java.lang.Object
com.gisgraphy.service.impl.UniversalManagerImpl
com.gisgraphy.service.impl.RoleManagerImpl
- All Implemented Interfaces:
- RoleManager, UniversalManager
public class RoleManagerImpl
- extends UniversalManagerImpl
- implements RoleManager
Implementation of RoleManager interface.
- Author:
- Dan Kibler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleManagerImpl
public RoleManagerImpl()
setRoleDao
public void setRoleDao(RoleDao dao)
getRoles
public List<Role> getRoles(Role role)
-
- Specified by:
getRoles
in interface RoleManager
- Parameters:
role
- The roles
- Returns:
- list of role
getRole
public Role getRole(String rolename)
-
- Specified by:
getRole
in interface RoleManager
- Parameters:
rolename
- The rolename
- Returns:
- The Role
saveRole
public Role saveRole(Role role)
-
- Specified by:
saveRole
in interface RoleManager
- Parameters:
role
- The role
- Returns:
- The Role
removeRole
public void removeRole(String rolename)
-
- Specified by:
removeRole
in interface RoleManager
- Parameters:
rolename
- The name of the role
Copyright © 2012. All Rights Reserved.