com.atlassian.jira.security.roles
Interface ProjectRole

All Known Implementing Classes:
MockProjectRoleManager.MockProjectRole, ProjectRoleImpl

@PublicApi
public interface ProjectRole

A way to group users (RoleActors) with projects.

An example would be a global role called "testers". If you have a project X and a project Y, you would then be able to configure different RoleActors in the "testers" role for project X than for project Y.

You can use ProjectRole objects as the target of Notification and Permission schemes.


Method Summary
 String getDescription()
          Will get the description of this role, null if not set.
 Long getId()
          Will return the unique identifier for this project role.
 String getName()
          Will get the name of this role, null if not set.
 

Method Detail

getId

Long getId()
Will return the unique identifier for this project role.

Returns:
Long the unique id for this proejct role.

getName

String getName()
Will get the name of this role, null if not set.

Returns:
name or null if not set

getDescription

String getDescription()
Will get the description of this role, null if not set.

Returns:
description or null if not set


Copyright © 2002-2014 Atlassian. All Rights Reserved.