|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.rest.v2.issue.project.ProjectRoleResource
public class ProjectRoleResource
Field Summary | |
---|---|
static Map<String,String> |
GET_ROLES_DOC_EXAMPLE
|
Constructor Summary | |
---|---|
ProjectRoleResource(ProjectRoleService projectRoleService,
AvatarService avatarService,
ProjectService projectService,
JiraAuthenticationContext authContext,
javax.ws.rs.core.UriInfo uriInfo)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
addActorUsers(String projectKey,
Long id,
Map<String,String[]> actors)
Add an actor to a project role. |
javax.ws.rs.core.Response |
deleteActor(String projectKey,
Long id,
String username,
String groupname)
Remove actors from a project role. |
javax.ws.rs.core.Response |
getProjectRole(String projectKey,
Long id)
Details on a given project role. |
javax.ws.rs.core.Response |
getProjectRoles(String projectKey)
Contains a list of roles in this project with links to full details. |
javax.ws.rs.core.Response |
setActors(String projectKey,
Long id,
ProjectRoleActorsUpdateBean actors)
Updates a project role to contain the sent actors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Map<String,String> GET_ROLES_DOC_EXAMPLE
Constructor Detail |
---|
public ProjectRoleResource(ProjectRoleService projectRoleService, AvatarService avatarService, ProjectService projectService, JiraAuthenticationContext authContext, javax.ws.rs.core.UriInfo uriInfo)
Method Detail |
---|
public javax.ws.rs.core.Response getProjectRoles(String projectKey)
projectKey
- the project key
public javax.ws.rs.core.Response getProjectRole(String projectKey, Long id)
projectKey
- the project keyid
- the project role id
public javax.ws.rs.core.Response setActors(String projectKey, Long id, ProjectRoleActorsUpdateBean actors)
projectKey
- the project keyid
- the project role idactors
- the actors to set for the role
public javax.ws.rs.core.Response addActorUsers(String projectKey, Long id, Map<String,String[]> actors)
projectKey
- the project keyid
- the project role idactors
- the actors to add to the role
public javax.ws.rs.core.Response deleteActor(String projectKey, Long id, @Nullable String username, @Nullable String groupname)
projectKey
- the project keyid
- the project role idusername
- the username to remove from the project rolegroupname
- the groupname to remove from the project role
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |