站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.jbpm.identity.Entity
      extended byorg.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 :

See Also:
Serialized Form

Field Summary
protected  java.util.Set children
           
protected  java.util.Set memberships
           
protected  Group parent
           
protected  java.lang.String type
           
 
Fields inherited from class org.jbpm.identity.Entity
name, permissions
 
Constructor Summary
Group()
           
Group(java.lang.String name)
           
Group(java.lang.String name, java.lang.String type)
           
 
Method Summary
 void addChild(Group child)
           
 void addMembership(Membership membership)
           
 java.util.Set getChildren()
           
 long getId()
           
 java.util.Set getMemberships()
           
 Group getParent()
           
 java.lang.String getType()
           
 java.util.Set getUsers()
           
 java.util.Set getUsersForMembershipName(java.lang.String membershipName)
           
 void setChildren(java.util.Set children)
           
 void setMemberships(java.util.Set memberships)
           
 void setParent(Group parent)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class org.jbpm.identity.Entity
addPermission, getName, getPermissions, removePermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected java.lang.String type

parent

protected Group parent

children

protected java.util.Set children

memberships

protected java.util.Set memberships
Constructor Detail

Group

public Group()

Group

public Group(java.lang.String name)

Group

public Group(java.lang.String name,
             java.lang.String type)
Method Detail

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