org.appfuse.service.impl
Class RoleManagerImpl

java.lang.Object
  extended by org.appfuse.service.impl.GenericManagerImpl<org.appfuse.model.Role,Long>
      extended by org.appfuse.service.impl.RoleManagerImpl
All Implemented Interfaces:
GenericManager<org.appfuse.model.Role,Long>, RoleManager

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

Implementation of RoleManager interface.

Author:
Dan Kibler

Field Summary
 
Fields inherited from class org.appfuse.service.impl.GenericManagerImpl
dao, log
 
Constructor Summary
RoleManagerImpl(RoleDao roleDao)
           
 
Method Summary
 org.appfuse.model.Role getRole(String rolename)
          
 List<org.appfuse.model.Role> getRoles(org.appfuse.model.Role role)
          
 void removeRole(String rolename)
          
 org.appfuse.model.Role saveRole(org.appfuse.model.Role role)
          
 
Methods inherited from class org.appfuse.service.impl.GenericManagerImpl
exists, get, getAll, reindex, reindexAll, remove, 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 org.appfuse.service.GenericManager
exists, get, getAll, reindex, reindexAll, remove, remove, save, search
 

Constructor Detail

RoleManagerImpl

@Autowired
public RoleManagerImpl(RoleDao roleDao)
Method Detail

getRoles

public List<org.appfuse.model.Role> getRoles(org.appfuse.model.Role role)

Specified by:
getRoles in interface RoleManager

getRole

public org.appfuse.model.Role getRole(String rolename)

Specified by:
getRole in interface RoleManager

saveRole

public org.appfuse.model.Role saveRole(org.appfuse.model.Role role)

Specified by:
saveRole in interface RoleManager

removeRole

public void removeRole(String rolename)

Specified by:
removeRole in interface RoleManager


Copyright © 2003-2012. All Rights Reserved.