WikiVis Web Application
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Private Attributes | List of all members
wikivis.data.WikiVisCachedData Class Reference

represents cached data for a particular page. More...

Public Member Functions

 WikiVisCachedData (WikiVisData data)
 Creates a new instance based on the given data.
WikiVisData restoreWikiVisData ()
 restores the cache data

Private Attributes

String pageTitle = ""
 the page title
List< Revisionrevisions
 a list of all revisions of the page
Map< String, Authorauthors
 a map of authors with their usernames as keys
List< MonthStatisticsmonthStatistics
 a list of per month statistics

Detailed Description

represents cached data for a particular page.

Currently only the following data is cached:

Author
Florian Zoubek zoube.nosp@m.k@bi.nosp@m.tanda.nosp@m.rt.a.nosp@m.t

Constructor & Destructor Documentation

wikivis.data.WikiVisCachedData.WikiVisCachedData ( WikiVisData  data)

Creates a new instance based on the given data.

Parameters
datathe data to cache

Member Function Documentation

WikiVisData wikivis.data.WikiVisCachedData.restoreWikiVisData ( )

restores the cache data

Returns
a WikiVisData object with the cached data

Member Data Documentation

Map<String, Author> wikivis.data.WikiVisCachedData.authors
private

a map of authors with their usernames as keys

List<MonthStatistics> wikivis.data.WikiVisCachedData.monthStatistics
private

a list of per month statistics

String wikivis.data.WikiVisCachedData.pageTitle = ""
private

the page title

List<Revision> wikivis.data.WikiVisCachedData.revisions
private

a list of all revisions of the page


The documentation for this class was generated from the following file: