org.jbpm.identity
Class Group
java.lang.Object
org.jbpm.identity.Entity
org.jbpm.identity.Group
- All Implemented Interfaces:
- Serializable
public class Group
- extends Entity
group of users.
The group type allows for the distinction of
hierarchical groups, security roles and others.
Following name convention is recommended for
assigning group types :
- hierarchy: for hierarchical groups
like teams, business units and companies.
- security-role: for j2ee and servlet
security roles like admin, user, ...
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected String type
parent
protected Group parent
children
protected Set children
memberships
protected Set memberships
Group
public Group()
Group
public Group(String name)
Group
public Group(String name,
String type)
addMembership
public void addMembership(Membership membership)
addChild
public void addChild(Group child)
getUsers
public Set getUsers()
getUsersForMembershipRole
public Set getUsersForMembershipRole(String membershipRole)
getMemberships
public Set getMemberships()
getChildren
public Set getChildren()
getParent
public Group getParent()
getType
public String getType()
setType
public void setType(String type)
setChildren
public void setChildren(Set children)
setMemberships
public void setMemberships(Set memberships)
setParent
public void setParent(Group parent)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.