com.atlassian.confluence.it.dashboard
Interface Dashboard

All Known Implementing Classes:
WebDashboard

public interface Dashboard

Represents the information shown on the Confluence dashboard.


Method Summary
 RecentlyUpdatedChangeSet getRecentUpdate(int changeSetIndex)
          Returns the recently updated change-set at the specified index on the dashboard, or null if such an item does not exist.
 List getRecentUpdates()
          Returns the recently updated content from the dashboard as RecentlyUpdatedChangeSet objects in the order they appear on the dashboard.
 Date getRequestTime()
          Returns the request timestamp inserted by the server in a meta tag in the HTML header.
 

Method Detail

getRecentUpdates

List getRecentUpdates()
Returns the recently updated content from the dashboard as RecentlyUpdatedChangeSet objects in the order they appear on the dashboard.

Returns:
a list of RecentlyUpdatedChangeSet objects.

getRecentUpdate

RecentlyUpdatedChangeSet getRecentUpdate(int changeSetIndex)
Returns the recently updated change-set at the specified index on the dashboard, or null if such an item does not exist. An index of zero indicates the first (i.e. most recent) changeset on the list.

Parameters:
changeSetIndex - the zero-based index of the recently updated change-set on dashboard to return.
Returns:
the recently updated change-set on the dashboard with the specified index, or null if one does not exist.

getRequestTime

Date getRequestTime()
Returns the request timestamp inserted by the server in a meta tag in the HTML header. Useful for checking times on recent updates. Returns null if the meta tag is not found.



Copyright © 2003-2010 Atlassian. All Rights Reserved.