public class GetRoleParameter extends Object
Constructor and Description |
---|
GetRoleParameter()
Default Constuctor necessary for json parsing
|
GetRoleParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long roles,
String topicId)
This constructor parses all incoming parameter of a request into the class structure
|
GetRoleParameter(String representation,
Long roles,
String topicId) |
Modifier and Type | Method and Description |
---|---|
Long |
getRoles()
Returns the Roles.
|
String |
getTopicId()
Returns the TopicId.
|
ETopicIdentifier |
getTopicIdentifier()
Returns the constant TopicIdentifier.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setRoles(Long roles)
Sets Roles.
|
void |
setTopicId(String topicId)
Sets TopicId.
|
void |
setTopicIdentifier(ETopicIdentifier topicIdentifier)
Sets the constant TopicIdentifier.
|
public GetRoleParameter()
public GetRoleParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long roles, String topicId) throws RestApiIllegalRequestParameterException
public GetRoleParameter(String representation, Long roles, String topicId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setRoles(Long roles)
roles
- public Long getRoles()
public void setTopicId(String topicId)
topicId
- public String getTopicId()
public void setTopicIdentifier(ETopicIdentifier topicIdentifier)
the
- constant topicIdentifierpublic ETopicIdentifier getTopicIdentifier()
Copyright © 2019 Communote team. All rights reserved.