当前页面:
在线文档首页 >
JBoss Seam 1.2.1 API 英文版文档
SimpleGroup (JBoss Seam API Documentation) - JBoss Seam 1.2.1 API 英文版文档
org.jboss.seam.security
Class SimpleGroup
java.lang.Object
org.jboss.seam.security.SimpleGroup
- All Implemented Interfaces:
- Serializable, Group, Principal
public class SimpleGroup
- extends Object
- implements Group, Serializable
Implementation of the Group interface, used for holding roles etc.
- Author:
- Shane Bryzak
- See Also:
- Serialized Form
SimpleGroup
public SimpleGroup(String name)
addMember
public boolean addMember(Principal user)
- Specified by:
addMember
in interface Group
isMember
public boolean isMember(Principal member)
- Specified by:
isMember
in interface Group
members
public Enumeration<? extends Principal> members()
- Specified by:
members
in interface Group
removeMember
public boolean removeMember(Principal user)
- Specified by:
removeMember
in interface Group
getName
public String getName()
- Specified by:
getName
in interface Principal
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Principal
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Principal
- Overrides:
hashCode
in class Object