Class RecentUpdate
- java.lang.Object
-
- com.atlassian.confluence.plugins.macros.dashboard.recentupdates.RecentUpdate
-
public class RecentUpdate extends Object
Structure to represent a recent update. Also handles pulling data out into the right fields from any SearchResult
-
-
Constructor Summary
Constructors Constructor Description RecentUpdate(SearchResult result, FriendlyDateFormatter dateFormatter, String contextPath, ContentUiSupport contentUiSupport, I18NBeanFactory i18NBeanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
SearchResult
getEntity()
String
getFriendlyContentType()
String
getFriendlyUpdateTime()
String
getHtml()
String
getIconCss()
long
getId()
String
getImageHeight()
String
getImageUrl()
String
getImageWidth()
Date
getLastModificationDate()
String
getSpaceName()
String
getSummary()
String
getThumbnailHeight()
String
getThumbnailUrl()
String
getThumbnailWidth()
String
getTitle()
String
getUpdateDescription()
String
getUrlPath()
String
getViewChangesLink()
boolean
isThumbnailable()
void
setThumbnailHeight(String thumbnailHeight)
void
setThumbnailUrl(String thumbnailUrl)
-
-
-
Constructor Detail
-
RecentUpdate
public RecentUpdate(SearchResult result, FriendlyDateFormatter dateFormatter, String contextPath, ContentUiSupport contentUiSupport, I18NBeanFactory i18NBeanFactory)
-
-
Method Detail
-
getId
public long getId()
-
getLastModificationDate
public Date getLastModificationDate()
-
getUrlPath
public String getUrlPath()
-
getTitle
public String getTitle()
-
getFriendlyUpdateTime
public String getFriendlyUpdateTime()
-
getUpdateDescription
public String getUpdateDescription()
-
getViewChangesLink
public String getViewChangesLink()
-
getSummary
public String getSummary()
-
getSpaceName
public String getSpaceName()
-
isThumbnailable
public boolean isThumbnailable()
-
getEntity
public SearchResult getEntity()
-
getThumbnailUrl
public String getThumbnailUrl()
-
setThumbnailUrl
public void setThumbnailUrl(String thumbnailUrl)
-
getThumbnailWidth
public String getThumbnailWidth()
-
getThumbnailHeight
public String getThumbnailHeight()
-
setThumbnailHeight
public void setThumbnailHeight(String thumbnailHeight)
-
getImageUrl
public String getImageUrl()
-
getImageWidth
public String getImageWidth()
-
getImageHeight
public String getImageHeight()
-
getContentType
public String getContentType()
-
getHtml
public String getHtml()
-
getIconCss
public String getIconCss()
-
getFriendlyContentType
public String getFriendlyContentType()
-
-