|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.rest.v2.admin.licenserole.LicenseRoleResource
public class LicenseRoleResource
Provides REST access to JIRA's License Roles.
Constructor Summary | |
---|---|
LicenseRoleResource(LicenseRoleService service,
I18nHelper helper)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
get(String roleId)
Returns the passed license role if it exists. |
javax.ws.rs.core.Response |
getAll()
Returns all license roles in the system. |
javax.ws.rs.core.Response |
put(String roleId,
LicenseRoleBean bean)
Updates the license role with the passed data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LicenseRoleResource(LicenseRoleService service, I18nHelper helper)
Method Detail |
---|
public javax.ws.rs.core.Response getAll()
public javax.ws.rs.core.Response get(String roleId)
roleId
- the id of the role to use.
public javax.ws.rs.core.Response put(String roleId, LicenseRoleBean bean)
roleId
- the id of the role to use.bean
- the data to update the role with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |