net.ramapuram.thomas.service.impl
Class RoleManagerImpl

java.lang.Object
  extended by net.ramapuram.thomas.service.impl.GenericManagerImpl<Role,java.lang.Long>
      extended by net.ramapuram.thomas.service.impl.RoleManagerImpl
All Implemented Interfaces:
GenericManager<Role,java.lang.Long>, RoleManager

@Service(value="roleManager")
public class RoleManagerImpl
extends GenericManagerImpl<Role,java.lang.Long>
implements RoleManager

Implementation of RoleManager interface.

Author:
Dan Kibler

Field Summary
 
Fields inherited from class net.ramapuram.thomas.service.impl.GenericManagerImpl
dao, log
 
Constructor Summary
RoleManagerImpl(RoleDao roleDao)
           
 
Method Summary
 Role getRole(java.lang.String rolename)
          
 java.util.List<Role> getRoles(Role role)
          
 void removeRole(java.lang.String rolename)
          
 Role saveRole(Role role)
          
 
Methods inherited from class net.ramapuram.thomas.service.impl.GenericManagerImpl
exists, get, getAll, remove, save, search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.ramapuram.thomas.service.GenericManager
exists, get, getAll, remove, save, search
 

Constructor Detail

RoleManagerImpl

public RoleManagerImpl(RoleDao roleDao)
Method Detail

getRoles

public java.util.List<Role> getRoles(Role role)

Specified by:
getRoles in interface RoleManager

getRole

public Role getRole(java.lang.String rolename)

Specified by:
getRole in interface RoleManager

saveRole

public Role saveRole(Role role)

Specified by:
saveRole in interface RoleManager

removeRole

public void removeRole(java.lang.String rolename)

Specified by:
removeRole in interface RoleManager


Copyright © 2011. All Rights Reserved.