com.atlassian.confluence.plugins.macros.dashboard.recentupdates
Class RecentUpdate

java.lang.Object
  extended by 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
RecentUpdate(SearchResult result, FriendlyDateFormatter dateFormatter, String contextPath, StatusTextRenderer statusTextRenderer, ContentUiSupport contentUiSupport, I18NBeanFactory i18NBeanFactory)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentUpdate

public RecentUpdate(SearchResult result,
                    FriendlyDateFormatter dateFormatter,
                    String contextPath,
                    StatusTextRenderer statusTextRenderer,
                    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()


Copyright © 2003-2013 Atlassian. All Rights Reserved.