public class RoleResourceClient extends com.atlassian.jira.testkit.client.RestApiClient<RoleResourceClient>
Constructor and Description |
---|
RoleResourceClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
RoleActorsAddResponse |
addActors(String projectKey,
long roleId,
String[] groups,
String[] userKeys) |
com.atlassian.jira.testkit.client.restclient.Response |
addActorsResponse(String projectKey,
long roleId,
String[] groups,
String[] userKeys) |
protected com.sun.jersey.api.client.WebResource |
createResource() |
protected com.sun.jersey.api.client.WebResource |
createResource(String projectKey) |
RolesResponse |
get(String projectKey) |
RolesResponse |
search(String projectKey,
long roleId) |
RolesResponse |
search(String projectKey,
long roleId,
String query) |
RolesResponse |
search(String projectKey,
long roleId,
String query,
int pageNumber,
int pageSize) |
RolesResponse |
search(String projectKey,
String query) |
com.atlassian.jira.testkit.client.restclient.Response |
searchResponse(String projectKey,
long roleId) |
com.atlassian.jira.testkit.client.restclient.Response |
searchResponse(String projectKey,
long roleId,
int pageNumber,
int pageSize) |
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public RoleResourceClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
protected com.sun.jersey.api.client.WebResource createResource()
createResource
in class com.atlassian.jira.testkit.client.RestApiClient<RoleResourceClient>
protected com.sun.jersey.api.client.WebResource createResource(String projectKey)
public RolesResponse get(String projectKey)
public RolesResponse search(String projectKey, String query)
public RolesResponse search(String projectKey, long roleId)
public RolesResponse search(String projectKey, long roleId, String query)
public RolesResponse search(String projectKey, long roleId, String query, int pageNumber, int pageSize)
public RoleActorsAddResponse addActors(String projectKey, long roleId, String[] groups, String[] userKeys)
public com.atlassian.jira.testkit.client.restclient.Response searchResponse(String projectKey, long roleId)
public com.atlassian.jira.testkit.client.restclient.Response searchResponse(String projectKey, long roleId, int pageNumber, int pageSize)
Copyright © 2002-2019 Atlassian. All Rights Reserved.