Class StreamItem
- java.lang.Object
-
- com.atlassian.confluence.plugins.edgeindex.rest.StreamItem
-
public class StreamItem extends Object
-
-
Constructor Summary
Constructors Constructor Description StreamItem()
StreamItem(long id, String title, String url, UserDto author, String friendlyDate, String date, int numberOfLikes, int numberOfComments, List<CountItem> counts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDto
getAuthor()
String
getContentCssClass()
List<CountItem>
getCounts()
String
getDate()
String
getExcerpt()
String
getFriendlyDate()
String
getIconCssClass()
long
getId()
List<String>
getImageUris()
int
getNumberOfComments()
int
getNumberOfLikes()
String
getScore()
String
getTitle()
String
getUrl()
void
setAuthor(UserDto author)
void
setContentCssClass(String contentCssClass)
void
setCounts(List<CountItem> counts)
void
setDate(String date)
void
setExcerpt(String excerpt)
void
setFriendlyDate(String friendlyDate)
void
setIconCssClass(String iconCssClass)
void
setId(long id)
void
setImageUris(List<String> imageUris)
void
setNumberOfComments(int numberOfComments)
void
setNumberOfLikes(int numberOfLikes)
void
setScore(String score)
void
setTitle(String title)
void
setUrl(String url)
-
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getContentCssClass
public String getContentCssClass()
-
setContentCssClass
public void setContentCssClass(String contentCssClass)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getAuthor
public UserDto getAuthor()
-
setAuthor
public void setAuthor(UserDto author)
-
getFriendlyDate
public String getFriendlyDate()
-
setFriendlyDate
public void setFriendlyDate(String friendlyDate)
-
getDate
public String getDate()
- Since:
- 5.10
-
setDate
public void setDate(String date)
- Since:
- 5.10
-
getNumberOfLikes
public int getNumberOfLikes()
-
setNumberOfLikes
public void setNumberOfLikes(int numberOfLikes)
-
getNumberOfComments
public int getNumberOfComments()
-
setNumberOfComments
public void setNumberOfComments(int numberOfComments)
-
getExcerpt
public String getExcerpt()
-
setExcerpt
public void setExcerpt(String excerpt)
-
getIconCssClass
public String getIconCssClass()
-
setIconCssClass
public void setIconCssClass(String iconCssClass)
-
getScore
public String getScore()
-
setScore
public void setScore(String score)
-
-