当前页面:
在线文档首页 >
JBoss JBPM 3.0.4 identity management component 英文版文档
Group (jbpm-identity-3.0.4) - JBoss JBPM 3.0.4 identity management component 英文版文档
org.jbpm.identity
Class Group
java.lang.Object
org.jbpm.identity.Entity
org.jbpm.identity.Group
- All Implemented Interfaces:
- java.io.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
Constructor Summary |
Group()
|
Group(java.lang.String name)
|
Group(java.lang.String name,
java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected java.lang.String type
parent
protected Group parent
children
protected java.util.Set children
memberships
protected java.util.Set memberships
Group
public Group()
Group
public Group(java.lang.String name)
Group
public Group(java.lang.String name,
java.lang.String type)
addMembership
public void addMembership(Membership membership)
addChild
public void addChild(Group child)
getUsers
public java.util.Set getUsers()
getUsersForMembershipName
public java.util.Set getUsersForMembershipName(java.lang.String membershipName)
getId
public long getId()
- Overrides:
getId
in class Entity
getMemberships
public java.util.Set getMemberships()
getChildren
public java.util.Set getChildren()
getParent
public Group getParent()
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
setChildren
public void setChildren(java.util.Set children)
setMemberships
public void setMemberships(java.util.Set memberships)
setParent
public void setParent(Group parent)
Version : jbpm-identity-3.0.4