de.schlund.pfixcore.example.bank
Class BankRoleProvider

java.lang.Object
  extended by de.schlund.pfixcore.example.bank.BankRoleProvider
All Implemented Interfaces:
RoleProvider

public class BankRoleProvider
extends Object
implements RoleProvider


Constructor Summary
BankRoleProvider()
           
 
Method Summary
 void addRole(Role role)
           
 Role getRole(String roleName)
           
 List<Role> getRoles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BankRoleProvider

public BankRoleProvider()
Method Detail

addRole

public void addRole(Role role)
Specified by:
addRole in interface RoleProvider

getRole

public Role getRole(String roleName)
             throws RoleNotFoundException
Specified by:
getRole in interface RoleProvider
Throws:
RoleNotFoundException

getRoles

public List<Role> getRoles()
Specified by:
getRoles in interface RoleProvider


Copyright © 2011 United Internet. All Rights Reserved.