|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProjectRolesRestClient
The client handling roles resources.
| Method Summary | |
|---|---|
com.atlassian.util.concurrent.Promise<ProjectRole> |
getRole(java.net.URI uri)
Retrieves a full information about the selected role. |
com.atlassian.util.concurrent.Promise<ProjectRole> |
getRole(java.net.URI projectUri,
java.lang.Long roleId)
Retrieves a full information about the selected role. |
com.atlassian.util.concurrent.Promise<java.lang.Iterable<ProjectRole>> |
getRoles(java.net.URI projectUri)
Retrieves a collection of roles in the selected project. |
| Method Detail |
|---|
com.atlassian.util.concurrent.Promise<ProjectRole> getRole(java.net.URI uri)
uri - URI of the role to retrieve.
RestClientException - in case of problems (connectivity, malformed messages, etc.)
com.atlassian.util.concurrent.Promise<ProjectRole> getRole(java.net.URI projectUri,
java.lang.Long roleId)
projectUri - uri of the project of the role to retrieve.roleId - unique role id.
RestClientException - in case of problems (connectivity, malformed messages, etc.)com.atlassian.util.concurrent.Promise<java.lang.Iterable<ProjectRole>> getRoles(java.net.URI projectUri)
projectUri - uri of the project of the roles to retrieve.
RestClientException - in case of problems (connectivity, malformed messages, etc.)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||