com.atlassian.jira.security.roles
Interface ProjectRole

All Known Implementing Classes:
ProjectRoleImpl

public interface ProjectRole

A way to group users (@see 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 description of this role, null if not set.
 void setDescription(String description)
          Will set the description for this project role.
 void setName(String name)
          Will set the name for this project role.
 

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 description of this role, null if not set.

Returns:
name or null if not set

setName

void setName(String name)
Will set the name for this project role.

Parameters:
name -

getDescription

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

Returns:
description or null if not set

setDescription

void setDescription(String description)
Will set the description for this project role.

Parameters:
description -


Copyright © 2002-2007 Atlassian. All Rights Reserved.