public class EditTopicParameter extends Object
Constructor and Description |
---|
EditTopicParameter()
Default Constuctor necessary for json parsing
|
EditTopicParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
String topicId)
This constructor parses all incoming parameter of a request into the class structure
|
EditTopicParameter(String representation,
String topicId) |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Returns the Alias.
|
Boolean |
getAllCanRead()
Returns the AllCanRead.
|
Boolean |
getAllCanWrite()
Returns the AllCanWrite.
|
String |
getDescription()
Returns the Description.
|
PropertyResource[] |
getProperties()
Returns the Properties.
|
TagResource[] |
getTags()
Returns the Tags.
|
String |
getTitle()
Returns the Title.
|
String |
getTopicId()
Returns the TopicId.
|
ETopicIdentifier |
getTopicIdentifier()
Returns the constant TopicIdentifier.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAlias(String alias)
Sets Alias.
|
void |
setAllCanRead(Boolean allCanRead)
Sets AllCanRead.
|
void |
setAllCanWrite(Boolean allCanWrite)
Sets AllCanWrite.
|
void |
setDescription(String description)
Sets Description.
|
void |
setProperties(PropertyResource[] properties)
Sets Properties.
|
void |
setTags(TagResource[] tags)
Sets Tags.
|
void |
setTitle(String title)
Sets Title.
|
void |
setTopicId(String topicId)
Sets TopicId.
|
void |
setTopicIdentifier(ETopicIdentifier topicIdentifier)
Sets the constant TopicIdentifier.
|
public EditTopicParameter()
public EditTopicParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, String topicId) throws RestApiIllegalRequestParameterException
public EditTopicParameter(String representation, 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 setTopicId(String topicId)
topicId
- public String getTopicId()
public void setDescription(String description)
description
- public String getDescription()
public void setTags(TagResource[] tags)
tags
- public TagResource[] getTags()
public void setAlias(String alias)
alias
- public String getAlias()
public void setTitle(String title)
title
- public String getTitle()
public void setProperties(PropertyResource[] properties)
properties
- public PropertyResource[] getProperties()
public void setAllCanWrite(Boolean allCanWrite)
allCanWrite
- public Boolean getAllCanWrite()
public void setAllCanRead(Boolean allCanRead)
allCanRead
- public Boolean getAllCanRead()
public void setTopicIdentifier(ETopicIdentifier topicIdentifier)
the
- constant topicIdentifierpublic ETopicIdentifier getTopicIdentifier()
Copyright © 2019 Communote team. All rights reserved.