org.apache.beehive.wsm.axis.security.model
Class MemoryGroupImpl

Object
  extended by MemoryGroupImpl
All Implemented Interfaces:
Group

public class MemoryGroupImpl
extends Object
implements Group


Constructor Summary
MemoryGroupImpl()
           
 
Method Summary
 void addRole(Role role)
           
 void addUser(User user)
           
 String getName()
           
 Role getRole(String role)
           
 Collection<Role> getRoles()
           
 User getUser(String user)
           
 Collection<User> getUsers()
           
 void setName(String name)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryGroupImpl

public MemoryGroupImpl()
Method Detail

setName

public void setName(String name)
Specified by:
setName in interface Group

getName

public String getName()
Specified by:
getName in interface Group

addUser

public void addUser(User user)
Specified by:
addUser in interface Group

getUser

public User getUser(String user)
Specified by:
getUser in interface Group

getUsers

public Collection<User> getUsers()
Specified by:
getUsers in interface Group

addRole

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

getRole

public Role getRole(String role)
Specified by:
getRole in interface Group

getRoles

public Collection<Role> getRoles()
Specified by:
getRoles in interface Group