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

Role - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.identity2
Interface Role


public interface Role

A role of users.

Version:
$Revision: 2001 $
Author:
Julien Viet, Thomas Heute

Method Summary
 java.lang.String getDisplayName()
          The role display name used on screens.
 java.lang.Object getId()
          The role identifier.
 java.lang.String getName()
          The role name used in security rules.
 void setDisplayName(java.lang.String name)
           
 

Method Detail

getId

public java.lang.Object getId()
The role identifier.


getName

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


getDisplayName

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


setDisplayName

public void setDisplayName(java.lang.String name)