com.ibm.portal.app.model
Interface ComponentRole

All Superinterfaces:
Localized

public interface ComponentRole
extends Localized

ComponentRole represents a role used to control access to components in an application. An access role can be assigned to a person or group, to give that member a specific level of access to an application component. Application component roles are defined by your component, using your component's Membership.getComponentRoles(String) method, and control access to your component only.

Since:
6.0

Method Summary
 java.lang.String getRoleId()
          Returns the unique identifier for this role.
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Method Detail

getRoleId

java.lang.String getRoleId()
Returns the unique identifier for this role. This can be any string meaningful to your application component, as long as it uniquely identifies the role.

Returns:
role ID, must not be null.