public class RoleResource extends AbstractResource
Constructor and Description |
---|
RoleResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createRole() |
javax.ws.rs.core.Response |
createRole(javax.ws.rs.core.MultivaluedMap<String,String> params,
String topicId) |
javax.ws.rs.core.Response |
createRole(String jsonRepresentation,
String topicId) |
boolean |
equals(Object obj) |
protected AbstractResourceHandler<CreateRoleParameter,DefaultParameter,DefaultParameter,GetRoleParameter,DefaultParameter> |
getResourceHandler() |
Long |
getRoles()
Returns the Roles.
|
int |
hashCode() |
javax.ws.rs.core.Response |
roleSingle(Long roles,
String topicId) |
void |
setRoles(Long roles)
Sets Roles.
|
protected AbstractResourceHandler<CreateRoleParameter,DefaultParameter,DefaultParameter,GetRoleParameter,DefaultParameter> getResourceHandler()
getResourceHandler
in class AbstractResource
public javax.ws.rs.core.Response roleSingle(Long roles, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response createRole(javax.ws.rs.core.MultivaluedMap<String,String> params, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response createRole(String jsonRepresentation, String topicId) throws Exception
Exception
public Long getRoles()
public void setRoles(Long roles)
roles
- Copyright © 2019 Communote team. All rights reserved.