public class CreateRoleParameter extends Object
| Constructor and Description |
|---|
CreateRoleParameter()
Default Constuctor necessary for json parsing
|
CreateRoleParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
String topicId)
This constructor parses all incoming parameter of a request into the class structure
|
CreateRoleParameter(String representation,
String topicId) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getEntityId()
Returns the EntityId.
|
String |
getGroupAlias()
Returns the GroupAlias.
|
ERole |
getRole()
Returns the constant Role.
|
String |
getTopicId()
Returns the TopicId.
|
ETopicIdentifier |
getTopicIdentifier()
Returns the constant TopicIdentifier.
|
String |
getUserAlias()
Returns the UserAlias.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setEntityId(Long entityId)
Sets EntityId.
|
void |
setGroupAlias(String groupAlias)
Sets GroupAlias.
|
void |
setRole(ERole role)
Sets the constant Role.
|
void |
setTopicId(String topicId)
Sets TopicId.
|
void |
setTopicIdentifier(ETopicIdentifier topicIdentifier)
Sets the constant TopicIdentifier.
|
void |
setUserAlias(String userAlias)
Sets UserAlias.
|
public CreateRoleParameter()
public CreateRoleParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, String topicId) throws RestApiIllegalRequestParameterException
public CreateRoleParameter(String representation, String topicId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseExceptionorg.codehaus.jackson.map.JsonMappingExceptionIOExceptionpublic void setTopicId(String topicId)
topicId - public String getTopicId()
public void setTopicIdentifier(ETopicIdentifier topicIdentifier)
the - constant topicIdentifierpublic ETopicIdentifier getTopicIdentifier()
public void setRole(ERole role)
the - constant rolepublic ERole getRole()
public void setEntityId(Long entityId)
entityId - public Long getEntityId()
public void setUserAlias(String userAlias)
userAlias - public String getUserAlias()
public void setGroupAlias(String groupAlias)
groupAlias - public String getGroupAlias()
Copyright © 2019 Communote team. All rights reserved.