站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.1.3 identity management component 英文版文档

Entity (jbpm-identity-3.1.3) - JBoss JBPM 3.1.3 identity management component 英文版文档


org.jbpm.identity
Class Entity

java.lang.Object
  extended by org.jbpm.identity.Entity
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Group, Membership, User

public class Entity
extends java.lang.Object
implements java.io.Serializable

common supertype for users, groups and memberships that manages the name and permissions.

See Also:
Serialized Form

Field Summary
protected  java.lang.String name
           
protected  java.util.Set permissions
           
 
Constructor Summary
Entity()
           
Entity(java.lang.String name)
           
Entity(java.lang.String name, java.util.Set permissions)
           
 
Method Summary
 void addPermission(java.security.Permission permission)
           
 long getId()
           
 java.lang.String getName()
           
 java.util.Set getPermissions()
           
 void removePermission(java.security.Permission permission)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

permissions

protected java.util.Set permissions
Constructor Detail

Entity

public Entity()

Entity

public Entity(java.lang.String name)

Entity

public Entity(java.lang.String name,
              java.util.Set permissions)
Method Detail

addPermission

public void addPermission(java.security.Permission permission)

getPermissions

public java.util.Set getPermissions()

removePermission

public void removePermission(java.security.Permission permission)

getId

public long getId()

getName

public java.lang.String getName()


Version : jbpm-identity-3.1.3