com.ebmwebsourcing.webcommons.user.service
Class RoleManagerImpl
java.lang.Object
com.ebmwebsourcing.webcommons.user.service.RoleManagerImpl
- All Implemented Interfaces:
- RoleManager
public class RoleManagerImpl
- extends java.lang.Object
- implements RoleManager
- Author:
- strino
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleManagerImpl
public RoleManagerImpl()
nonTransactionalInit
public void nonTransactionalInit()
throws java.io.IOException,
RoleGroupException
- Throws:
java.io.IOException
RoleGroupException
setRolesResource
public void setRolesResource(org.springframework.core.io.Resource resource)
init
public void init()
throws java.io.IOException
- Description copied from interface:
RoleManager
- Add all roles in Registry, if not exist
- Specified by:
init in interface RoleManager
- Throws:
java.io.IOException
createRole
public void createRole(java.lang.String roleName)
- Description copied from interface:
RoleManager
- Add a new Role in registry. The Role name must be specified.
- Specified by:
createRole in interface RoleManager
- Parameters:
roleName - String
getAllRoles
public java.lang.String[] getAllRoles()
- Description copied from interface:
RoleManager
- Return the list of all roles in database.
- Specified by:
getAllRoles in interface RoleManager
- Returns:
- the list of all roles in database. Can't be null, could be empty
setRoleDAO
public void setRoleDAO(RoleDAO roleDAO)
setRoleManager
public void setRoleManager(RoleManager roleManager)
Copyright © 2010 eBM WebSourcing. All Rights Reserved.