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

Role20 - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model20.model
Interface Role20

All Known Implementing Classes:
Role20Impl

public interface Role20

A role of users.


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 name)
           
 

Method Detail

getID

public java.lang.Integer getID()
The role identifier.

Returns:
the role ID

getName

public java.lang.String getName()
The role name used in security rules. This name can not be modified

Returns:
the role name

getDisplayName

public java.lang.String getDisplayName()
The role display name used on screens. This name can be modified

Returns:
the role name

setDisplayName

public void setDisplayName(java.lang.String name)

getUsers

public java.util.Set getUsers()
The users.

Returns:
the users belonging to this role