public class EditNoteParameter extends Object
Constructor and Description |
---|
EditNoteParameter()
Default Constuctor necessary for json parsing
|
EditNoteParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long noteId)
This constructor parses all incoming parameter of a request into the class structure
|
EditNoteParameter(String representation,
Long noteId) |
Modifier and Type | Method and Description |
---|---|
Long[] |
getAttachmentIds()
Returns the AttachmentIds.
|
String |
getAttachmentUploadSessionId()
Returns the AttachmentUploadSessionId.
|
Long |
getAutosaveNoteId()
Returns the AutosaveNoteId.
|
String[] |
getCrossPostTopicAliases()
Returns the CrossPostTopicAliases.
|
Boolean |
getIsHtml()
Returns the IsHtml.
|
Integer |
getMaxTextLength()
Returns the MaxTextLength.
|
Long |
getNoteId()
Returns the NoteId.
|
Long |
getNoteVersion()
Returns the NoteVersion.
|
PropertyResource[] |
getProperties()
Returns the Properties.
|
Boolean |
getPublish()
Returns the Publish.
|
TagResource[] |
getTags()
Returns the Tags.
|
String |
getText()
Returns the Text.
|
Long |
getTopicId()
Returns the TopicId.
|
String[] |
getUsersToNotify()
Returns the UsersToNotify.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAttachmentIds(Long[] attachmentIds)
Sets AttachmentIds.
|
void |
setAttachmentUploadSessionId(String attachmentUploadSessionId)
Sets AttachmentUploadSessionId.
|
void |
setAutosaveNoteId(Long autosaveNoteId)
Sets AutosaveNoteId.
|
void |
setCrossPostTopicAliases(String[] crossPostTopicAliases)
Sets CrossPostTopicAliases.
|
void |
setIsHtml(Boolean isHtml)
Sets IsHtml.
|
void |
setMaxTextLength(Integer maxTextLength)
Sets MaxTextLength.
|
void |
setNoteId(Long noteId)
Sets NoteId.
|
void |
setNoteVersion(Long noteVersion)
Sets NoteVersion.
|
void |
setProperties(PropertyResource[] properties)
Sets Properties.
|
void |
setPublish(Boolean publish)
Sets Publish.
|
void |
setTags(TagResource[] tags)
Sets Tags.
|
void |
setText(String text)
Sets Text.
|
void |
setTopicId(Long topicId)
Sets TopicId.
|
void |
setUsersToNotify(String[] usersToNotify)
Sets UsersToNotify.
|
public EditNoteParameter()
public EditNoteParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long noteId) throws RestApiIllegalRequestParameterException
public EditNoteParameter(String representation, Long noteId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setNoteId(Long noteId)
noteId
- public Long getNoteId()
public void setText(String text)
text
- public String getText()
public void setTags(TagResource[] tags)
tags
- public TagResource[] getTags()
public void setUsersToNotify(String[] usersToNotify)
usersToNotify
- public String[] getUsersToNotify()
public void setTopicId(Long topicId)
topicId
- public Long getTopicId()
public void setAttachmentIds(Long[] attachmentIds)
attachmentIds
- public Long[] getAttachmentIds()
public void setProperties(PropertyResource[] properties)
properties
- public PropertyResource[] getProperties()
public void setNoteVersion(Long noteVersion)
noteVersion
- public Long getNoteVersion()
public void setIsHtml(Boolean isHtml)
isHtml
- public Boolean getIsHtml()
public void setMaxTextLength(Integer maxTextLength)
maxTextLength
- public Integer getMaxTextLength()
public void setPublish(Boolean publish)
publish
- public Boolean getPublish()
public void setAutosaveNoteId(Long autosaveNoteId)
autosaveNoteId
- public Long getAutosaveNoteId()
public void setCrossPostTopicAliases(String[] crossPostTopicAliases)
crossPostTopicAliases
- public String[] getCrossPostTopicAliases()
public void setAttachmentUploadSessionId(String attachmentUploadSessionId)
attachmentUploadSessionId
- public String getAttachmentUploadSessionId()
Copyright © 2019 Communote team. All rights reserved.