public class LicenseRoleResource extends Object
Constructor and Description |
---|
LicenseRoleResource(LicenseRoleAdminService service,
I18nHelper helper) |
Modifier and Type | Method and Description |
---|---|
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.
|
public LicenseRoleResource(LicenseRoleAdminService service, I18nHelper helper)
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.Copyright © 2002-2015 Atlassian. All Rights Reserved.