org.jbpm.identity
Class Entity
java.lang.Object
org.jbpm.identity.Entity
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Group, Membership, User
public class Entity
- extends Object
- implements Serializable
common supertype for users, groups and memberships
that manages the name and permissions.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
permissions
protected Set permissions
Entity
public Entity()
Entity
public Entity(String name)
Entity
public Entity(String name,
Set permissions)
addPermission
public void addPermission(Permission permission)
getPermissions
public Set getPermissions()
removePermission
public void removePermission(Permission permission)
getId
public long getId()
getName
public String getName()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.