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.MultivaluedMap<String,String> params,
String topicId) |
javax.ws.rs.core.Response |
createRole(String jsonRepresentation,
String topicId) |
boolean |
equals(Object obj) |
Long |
getEntityId()
Returns the EntityId.
|
String |
getGroupAlias()
Returns the GroupAlias.
|
protected AbstractResourceHandler<CreateRoleParameter,DefaultParameter,DefaultParameter,GetRoleParameter,GetCollectionRoleParameter> |
getResourceHandler() |
ERole |
getRole()
Returns the constant Role.
|
Long |
getRoles()
Returns the Roles.
|
String |
getUserAlias()
Returns the UserAlias.
|
int |
hashCode() |
javax.ws.rs.core.Response |
roleList(String topicId) |
javax.ws.rs.core.Response |
roleSingle(Long roles,
String topicId) |
void |
setEntityId(Long entityId)
Sets EntityId.
|
void |
setGroupAlias(String groupAlias)
Sets GroupAlias.
|
void |
setRole(ERole role)
Sets the constant Role.
|
void |
setRoles(Long roles)
Sets Roles.
|
void |
setUserAlias(String userAlias)
Sets UserAlias.
|
protected AbstractResourceHandler<CreateRoleParameter,DefaultParameter,DefaultParameter,GetRoleParameter,GetCollectionRoleParameter> getResourceHandler()
getResourceHandler in class AbstractResourcepublic javax.ws.rs.core.Response roleSingle(Long roles, String topicId) throws Exception
Exceptionpublic javax.ws.rs.core.Response roleList(String topicId) throws Exception
Exceptionpublic javax.ws.rs.core.Response createRole(javax.ws.rs.core.MultivaluedMap<String,String> params, String topicId) throws Exception
Exceptionpublic javax.ws.rs.core.Response createRole(String jsonRepresentation, String topicId) throws Exception
Exceptionpublic Long getRoles()
public void setRoles(Long roles)
roles - public ERole getRole()
public void setRole(ERole role)
the - constant rolepublic Long getEntityId()
public void setEntityId(Long entityId)
entityId - public String getUserAlias()
public void setUserAlias(String userAlias)
userAlias - public String getGroupAlias()
public void setGroupAlias(String groupAlias)
groupAlias - Copyright © 2019 Communote team. All rights reserved.