public class GetTimelineNoteParameter extends Object
| Constructor and Description |
|---|
GetTimelineNoteParameter()
Default Constuctor necessary for json parsing
|
GetTimelineNoteParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long noteId)
This constructor parses all incoming parameter of a request into the class structure
|
GetTimelineNoteParameter(String representation,
Long noteId) |
| Modifier and Type | Method and Description |
|---|---|
AttachmentResource[] |
getAttachments()
Returns the Attachments.
|
TimelineUserResource |
getAuthor()
Returns the Author.
|
Date |
getCreationDate()
Returns the CreationDate.
|
TimelineNoteDiscussionResource |
getDiscussion()
Returns the Discussion.
|
Boolean |
getFilterHtml()
Returns the FilterHtml.
|
Boolean |
getIsDirectMessage()
Returns the IsDirectMessage.
|
Integer |
getMaxTextLength()
Returns the MaxTextLength.
|
Long |
getNoteId()
Returns the NoteId.
|
Integer |
getNumberOfChildNotes()
Returns the NumberOfChildNotes.
|
Integer |
getNumberOfLikes()
Returns the NumberOfLikes.
|
Long |
getParentNoteId()
Returns the ParentNoteId.
|
List<ERights> |
getRights()
Returns List of constants Rights.
|
String |
getShortText()
Returns the ShortText.
|
TimelineNoteTagResource[] |
getTags()
Returns the Tags.
|
String |
getText()
Returns the Text.
|
TimelineTopicResource |
getTopic()
Returns the Topic.
|
List<EUserNoteProperties> |
getUserNoteProperties()
Returns List of constants UserNoteProperties.
|
TimelineUserResource[] |
getUsersToNotify()
Returns the UsersToNotify.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAttachments(AttachmentResource[] attachments)
Sets Attachments.
|
void |
setAuthor(TimelineUserResource author)
Sets Author.
|
void |
setCreationDate(Date creationDate)
Sets CreationDate.
|
void |
setDiscussion(TimelineNoteDiscussionResource discussion)
Sets Discussion.
|
void |
setFilterHtml(Boolean filterHtml)
Sets FilterHtml.
|
void |
setIsDirectMessage(Boolean isDirectMessage)
Sets IsDirectMessage.
|
void |
setMaxTextLength(Integer maxTextLength)
Sets MaxTextLength.
|
void |
setNoteId(Long noteId)
Sets NoteId.
|
void |
setNumberOfChildNotes(Integer numberOfChildNotes)
Sets NumberOfChildNotes.
|
void |
setNumberOfLikes(Integer numberOfLikes)
Sets NumberOfLikes.
|
void |
setParentNoteId(Long parentNoteId)
Sets ParentNoteId.
|
void |
setRights(List<ERights> rights)
List of constants Rights.
|
void |
setShortText(String shortText)
Sets ShortText.
|
void |
setTags(TimelineNoteTagResource[] tags)
Sets Tags.
|
void |
setText(String text)
Sets Text.
|
void |
setTopic(TimelineTopicResource topic)
Sets Topic.
|
void |
setUserNoteProperties(List<EUserNoteProperties> userNoteProperties)
List of constants UserNoteProperties.
|
void |
setUsersToNotify(TimelineUserResource[] usersToNotify)
Sets UsersToNotify.
|
public GetTimelineNoteParameter()
public GetTimelineNoteParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long noteId) throws RestApiIllegalRequestParameterException
public GetTimelineNoteParameter(String representation, Long noteId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseExceptionorg.codehaus.jackson.map.JsonMappingExceptionIOExceptionpublic void setNoteId(Long noteId)
noteId - public Long getNoteId()
public void setText(String text)
text - public String getText()
public void setShortText(String shortText)
shortText - public String getShortText()
public void setCreationDate(Date creationDate)
creationDate - public Date getCreationDate()
public void setAuthor(TimelineUserResource author)
author - public TimelineUserResource getAuthor()
public void setUsersToNotify(TimelineUserResource[] usersToNotify)
usersToNotify - public TimelineUserResource[] getUsersToNotify()
public void setNumberOfChildNotes(Integer numberOfChildNotes)
numberOfChildNotes - public Integer getNumberOfChildNotes()
public void setTags(TimelineNoteTagResource[] tags)
tags - public TimelineNoteTagResource[] getTags()
public void setUserNoteProperties(List<EUserNoteProperties> userNoteProperties)
the - constants userNotePropertiespublic List<EUserNoteProperties> getUserNoteProperties()
public void setIsDirectMessage(Boolean isDirectMessage)
isDirectMessage - public Boolean getIsDirectMessage()
public void setNumberOfLikes(Integer numberOfLikes)
numberOfLikes - public Integer getNumberOfLikes()
public void setRights(List<ERights> rights)
the - constants rightspublic List<ERights> getRights()
public void setAttachments(AttachmentResource[] attachments)
attachments - public AttachmentResource[] getAttachments()
public void setTopic(TimelineTopicResource topic)
topic - public TimelineTopicResource getTopic()
public void setDiscussion(TimelineNoteDiscussionResource discussion)
discussion - public TimelineNoteDiscussionResource getDiscussion()
public void setParentNoteId(Long parentNoteId)
parentNoteId - public Long getParentNoteId()
public void setFilterHtml(Boolean filterHtml)
filterHtml - public Boolean getFilterHtml()
public void setMaxTextLength(Integer maxTextLength)
maxTextLength - public Integer getMaxTextLength()
Copyright © 2019 Communote team. All rights reserved.