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

Role20Impl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model20.impl.role
Class Role20Impl

java.lang.Object
  extended byorg.jboss.portal.migration.model20.impl.role.Role20Impl
All Implemented Interfaces:
Role20

public class Role20Impl
extends java.lang.Object
implements Role20


Field Summary
 java.lang.String displayName
           
 java.lang.Integer id
           
 java.lang.String name
           
 java.lang.Integer rid
           
 java.util.Set users
           
 
Constructor Summary
Role20Impl()
          Called by hibernate.
Role20Impl(java.lang.String name)
           
Role20Impl(java.lang.String name, java.lang.String displayName)
           
 
Method Summary
 java.lang.String getDisplayName()
          The role display name used on screens.
 java.lang.Integer getID()
          The role identifier.
 java.lang.String getName()
          The role name used in security rules.
 java.util.Set getUsers()
          The users.
 void setDisplayName(java.lang.String displayName)
          Called by hibernate.
 void setName(java.lang.String name)
          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

id

public java.lang.Integer id

name

public java.lang.String name

users

public java.util.Set users

displayName

public java.lang.String displayName

rid

public java.lang.Integer rid
Constructor Detail

Role20Impl

public Role20Impl()
Called by hibernate.


Role20Impl

public Role20Impl(java.lang.String name)

Role20Impl

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

setName

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


setDisplayName

public void setDisplayName(java.lang.String displayName)
Called by hibernate.

Specified by:
setDisplayName in interface Role20

getID

public java.lang.Integer getID()
Description copied from interface: Role20
The role identifier.

Specified by:
getID in interface Role20
Returns:
the role ID

getName

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

Specified by:
getName in interface Role20
Returns:
the role name

getDisplayName

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

Specified by:
getDisplayName in interface Role20
Returns:
the role name

getUsers

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

Specified by:
getUsers in interface Role20
Returns:
the users belonging to this role

toString

public java.lang.String toString()