public class TimelineNoteResource extends AbstractResource
Constructor and Description |
---|
TimelineNoteResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createTimelineNote(javax.ws.rs.core.MultivaluedMap<String,String> params) |
javax.ws.rs.core.Response |
createTimelineNote(String jsonRepresentation) |
boolean |
equals(Object obj) |
AttachmentResource[] |
getAttachments()
Returns the Attachments.
|
TimelineUserResource |
getAuthor()
Returns the Author.
|
Date |
getCreationDate()
Returns the CreationDate.
|
TimelineNoteDiscussionResource |
getDiscussion()
Returns the Discussion.
|
Boolean |
getIsDirectMessage()
Returns the IsDirectMessage.
|
Boolean |
getIsMentionDiscussionAuthors()
Returns the IsMentionDiscussionAuthors.
|
Boolean |
getIsMentionTopicAuthors()
Returns the IsMentionTopicAuthors.
|
Boolean |
getIsMentionTopicManagers()
Returns the IsMentionTopicManagers.
|
Boolean |
getIsMentionTopicReaders()
Returns the IsMentionTopicReaders.
|
Long |
getNoteId()
Returns the NoteId.
|
Integer |
getNumberOfChildNotes()
Returns the NumberOfChildNotes.
|
Integer |
getNumberOfLikes()
Returns the NumberOfLikes.
|
Long |
getParentNoteId()
Returns the ParentNoteId.
|
PropertyResource[] |
getProperties()
Returns the Properties.
|
protected AbstractResourceHandler<CreateTimelineNoteParameter,DefaultParameter,DefaultParameter,GetTimelineNoteParameter,GetCollectionTimelineNoteParameter> |
getResourceHandler() |
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.
|
int |
hashCode() |
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 |
setIsDirectMessage(Boolean isDirectMessage)
Sets IsDirectMessage.
|
void |
setIsMentionDiscussionAuthors(Boolean isMentionDiscussionAuthors)
Sets IsMentionDiscussionAuthors.
|
void |
setIsMentionTopicAuthors(Boolean isMentionTopicAuthors)
Sets IsMentionTopicAuthors.
|
void |
setIsMentionTopicManagers(Boolean isMentionTopicManagers)
Sets IsMentionTopicManagers.
|
void |
setIsMentionTopicReaders(Boolean isMentionTopicReaders)
Sets IsMentionTopicReaders.
|
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 |
setProperties(PropertyResource[] properties)
Sets Properties.
|
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.
|
javax.ws.rs.core.Response |
timelineNoteList() |
javax.ws.rs.core.Response |
timelineNoteSingle(Long noteId) |
protected AbstractResourceHandler<CreateTimelineNoteParameter,DefaultParameter,DefaultParameter,GetTimelineNoteParameter,GetCollectionTimelineNoteParameter> getResourceHandler()
getResourceHandler
in class AbstractResource
public javax.ws.rs.core.Response timelineNoteSingle(Long noteId) throws Exception
Exception
public javax.ws.rs.core.Response timelineNoteList() throws Exception
Exception
public javax.ws.rs.core.Response createTimelineNote(javax.ws.rs.core.MultivaluedMap<String,String> params) throws Exception
Exception
public javax.ws.rs.core.Response createTimelineNote(String jsonRepresentation) throws Exception
Exception
public Long getNoteId()
public void setNoteId(Long noteId)
noteId
- public String getText()
public void setText(String text)
text
- public String getShortText()
public void setShortText(String shortText)
shortText
- public Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate
- public TimelineUserResource getAuthor()
public void setAuthor(TimelineUserResource author)
author
- public TimelineUserResource[] getUsersToNotify()
public void setUsersToNotify(TimelineUserResource[] usersToNotify)
usersToNotify
- public Integer getNumberOfChildNotes()
public void setNumberOfChildNotes(Integer numberOfChildNotes)
numberOfChildNotes
- public TimelineNoteTagResource[] getTags()
public void setTags(TimelineNoteTagResource[] tags)
tags
- public List<EUserNoteProperties> getUserNoteProperties()
public void setUserNoteProperties(List<EUserNoteProperties> userNoteProperties)
the
- constants userNotePropertiespublic Boolean getIsDirectMessage()
public void setIsDirectMessage(Boolean isDirectMessage)
isDirectMessage
- public Integer getNumberOfLikes()
public void setNumberOfLikes(Integer numberOfLikes)
numberOfLikes
- public List<ERights> getRights()
public void setRights(List<ERights> rights)
the
- constants rightspublic AttachmentResource[] getAttachments()
public void setAttachments(AttachmentResource[] attachments)
attachments
- public TimelineTopicResource getTopic()
public void setTopic(TimelineTopicResource topic)
topic
- public TimelineNoteDiscussionResource getDiscussion()
public void setDiscussion(TimelineNoteDiscussionResource discussion)
discussion
- public PropertyResource[] getProperties()
public void setProperties(PropertyResource[] properties)
properties
- public Long getParentNoteId()
public void setParentNoteId(Long parentNoteId)
parentNoteId
- public Boolean getIsMentionTopicReaders()
public void setIsMentionTopicReaders(Boolean isMentionTopicReaders)
isMentionTopicReaders
- public Boolean getIsMentionTopicAuthors()
public void setIsMentionTopicAuthors(Boolean isMentionTopicAuthors)
isMentionTopicAuthors
- public Boolean getIsMentionTopicManagers()
public void setIsMentionTopicManagers(Boolean isMentionTopicManagers)
isMentionTopicManagers
- public Boolean getIsMentionDiscussionAuthors()
public void setIsMentionDiscussionAuthors(Boolean isMentionDiscussionAuthors)
isMentionDiscussionAuthors
- Copyright © 2019 Communote team. All rights reserved.