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

RoleImpl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.identity.db
Class RoleImpl

java.lang.Object
  extended byorg.jboss.portal.identity.db.RoleImpl
All Implemented Interfaces:
Role

public class RoleImpl
extends java.lang.Object
implements Role


Constructor Summary
RoleImpl()
           
RoleImpl(java.lang.String name)
           
RoleImpl(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
 

Constructor Detail

RoleImpl

public RoleImpl()

RoleImpl

public RoleImpl(java.lang.String name)

RoleImpl

public RoleImpl(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()