站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

Role24Impl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.migration.model24.identity
Class Role24Impl

java.lang.Object
  extended byorg.jboss.portal.migration.model24.identity.Role24Impl
All Implemented Interfaces:
Role

public class Role24Impl
extends java.lang.Object
implements Role

Version:
$Revision: 5449 $
Author:
Julien Viet , Thomas Heute , Roy Russo : roy at jboss dot org

Field Summary
 java.lang.String displayName
           
 java.lang.Long key
           
 java.lang.String name
           
 java.util.Set users
           
 
Constructor Summary
Role24Impl()
           
Role24Impl(java.lang.String name)
           
Role24Impl(java.lang.String name, java.lang.String displayName)
           
 
Method Summary
 java.lang.String getDisplayName()
          The role display name used on screens.
 java.lang.Object getId()
          The role identifier.
protected  java.lang.Long getKey()
           
 java.lang.String getName()
          The role name used in security rules.
 java.util.Set getUsers()
          The users.
 void setDisplayName(java.lang.String displayName)
           
protected  void setKey(java.lang.Long key)
          Called by hibernate.
protected  void setName(java.lang.String name)
          Called by hibernate.
protected  void setUsers(java.util.Set users)
          Called by hibernate.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public java.lang.Long key

name

public java.lang.String name

users

public java.util.Set users

displayName

public java.lang.String displayName
Constructor Detail

Role24Impl

public Role24Impl()

Role24Impl

public Role24Impl(java.lang.String name)

Role24Impl

public Role24Impl(java.lang.String name,
                  java.lang.String displayName)
Method Detail

getKey

protected java.lang.Long getKey()

setKey

protected void setKey(java.lang.Long key)
Called by hibernate.


setName

protected void setName(java.lang.String name)
Called by hibernate.


setUsers

protected void setUsers(java.util.Set users)
Called by hibernate.


getId

public java.lang.Object getId()
Description copied from interface: Role
The role identifier.

Specified by:
getId in interface Role

getName

public java.lang.String getName()
Description copied from interface: Role
The role name used in security rules. This name can not be modified

Specified by:
getName in interface Role

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: Role
The role display name used on screens. This name can be modified

Specified by:
getDisplayName in interface Role

setDisplayName

public void setDisplayName(java.lang.String displayName)
Specified by:
setDisplayName in interface Role

getUsers

public java.util.Set getUsers()
Description copied from interface: Role
The users.

Specified by:
getUsers in interface Role

toString

public java.lang.String toString()