com.gisgraphy.service
Interface RoleManager

All Superinterfaces:
UniversalManager
All Known Implementing Classes:
RoleManagerImpl

public interface RoleManager
extends UniversalManager

Business Service Interface to handle communication between web and persistence layer.

Author:
Dan Kibler

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 interface com.gisgraphy.service.UniversalManager
get, getAll, remove, save
 

Method Detail

getRoles

java.util.List<Role> getRoles(Role role)
Parameters:
role - The roles
Returns:
list of role

getRole

Role getRole(java.lang.String rolename)
Parameters:
rolename - The rolename
Returns:
The Role

saveRole

Role saveRole(Role role)
Parameters:
role - The role
Returns:
The Role

removeRole

void removeRole(java.lang.String rolename)
Parameters:
rolename - The name of the role


Copyright © 2010. All Rights Reserved.